Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2008, 1:38:17 PM (16 years ago)
Author:
rgrieder
Message:

Trying to synchronise phyiscs over the network.

  • Removed derivation of CollisionShape from WorldEntity (BaseObject instead).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/physics/src/orxonox/objects/worldentities/pawns/Spectator.cc

    r2297 r2374  
    108108            Vector3 velocity = this->getVelocity();
    109109            velocity.normalise();
    110             this->setVelocity(velocity * this->speed_);
     110            this->setVelocity(this->getOrientation() * velocity * this->speed_);
    111111
    112112            this->yaw(Radian(this->yaw_ * this->rotationSpeed_));
Note: See TracChangeset for help on using the changeset viewer.