- Timestamp:
- May 4, 2009, 5:28:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gametypes/src/orxonox/objects/worldentities/MobileEntity.h
r2826 r2954 75 75 { return this->angularAcceleration_; } 76 76 77 void applyCentralForce(const Vector3& force); 78 inline void applyCentralForce(float x, float y, float z) 79 { this->applyCentralForce(Vector3(x, y, z)); } 80 77 81 inline void setRotationRate(Degree rate) 78 82 { this->setAngularVelocity(this->getAngularVelocity().normalisedCopy() * rate.valueRadians()); }
Note: See TracChangeset
for help on using the changeset viewer.