- Timestamp:
- Dec 13, 2008, 8:55:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/orxonox/objects/worldentities/MobileEntity.h
r2408 r2426 48 48 49 49 using WorldEntity::setPosition; 50 using WorldEntity::translate;51 50 using WorldEntity::setOrientation; 52 using WorldEntity::rotate;53 using WorldEntity::yaw;54 using WorldEntity::pitch;55 using WorldEntity::roll;56 using WorldEntity::lookAt;57 using WorldEntity::setDirection;58 51 59 52 void setPosition(const Vector3& position); 60 void translate(const Vector3& distance, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL);61 53 void setOrientation(const Quaternion& orientation); 62 void rotate(const Quaternion& rotation, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL);63 void yaw(const Degree& angle, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL);64 void pitch(const Degree& angle, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL);65 void roll(const Degree& angle, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL);66 void lookAt(const Vector3& target, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL, const Vector3& localDirectionVector = Vector3::NEGATIVE_UNIT_Z);67 void setDirection(const Vector3& direction, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL, const Vector3& localDirectionVector = Vector3::NEGATIVE_UNIT_Z);68 54 69 55 void setVelocity(const Vector3& velocity);
Note: See TracChangeset
for help on using the changeset viewer.