Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 14, 2008, 8:13:56 PM (15 years ago)
Author:
rgrieder
Message:

Spectator update with new physics stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/physics_merge/src/orxonox/objects/Scene.cc

    r2446 r2448  
    8080        // No physics yet, XMLPort will do that.
    8181        const int defaultMaxWorldSize = 100000;
    82         this->negativeWorldRange_ = Vector3(-defaultMaxWorldSize, -defaultMaxWorldSize, -defaultMaxWorldSize);
    83         this->positiveWorldRange_ = Vector3( defaultMaxWorldSize,  defaultMaxWorldSize,  defaultMaxWorldSize);
    84         this->gravity_ = Vector3(0, 0, 0);
     82        this->negativeWorldRange_ = Vector3::UNIT_SCALE * -defaultMaxWorldSize;
     83        this->positiveWorldRange_ = Vector3::UNIT_SCALE *  defaultMaxWorldSize;
     84        this->gravity_ = Vector3::ZERO;
    8585        this->physicalWorld_   = 0;
    8686        this->solver_          = 0;
Note: See TracChangeset for help on using the changeset viewer.