Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 4, 2009, 5:28:59 PM (15 years ago)
Author:
Aurelian
Message:

ForceField not working jet, but no errors…

File:
1 edited

Legend:

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

    r2826 r2954  
    7575                { return this->angularAcceleration_; }
    7676
     77            void applyCentralForce(const Vector3& force);
     78            inline void applyCentralForce(float x, float y, float z)
     79                { this->applyCentralForce(Vector3(x, y, z)); }
     80
    7781            inline void setRotationRate(Degree rate)
    7882                { this->setAngularVelocity(this->getAngularVelocity().normalisedCopy() * rate.valueRadians()); }
Note: See TracChangeset for help on using the changeset viewer.