Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 16, 2008, 7:46:31 PM (15 years ago)
Author:
landauf
Message:

backlights work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/orxonox/objects/worldentities/MobileEntity.h

    r2485 r2488  
    5454            inline const Vector3& getVelocity() const
    5555                { return this->linearVelocity_; }
     56            inline Vector3 getLocalVelocity() const
     57                { return (this->getOrientation().Inverse() * this->getVelocity()); }
    5658
    5759            virtual void setAngularVelocity(const Vector3& velocity);
Note: See TracChangeset for help on using the changeset viewer.