- 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/StaticEntity.h
r2374 r2426 45 45 46 46 using WorldEntity::setPosition; 47 using WorldEntity::translate;48 47 using WorldEntity::setOrientation; 49 using WorldEntity::rotate;50 using WorldEntity::yaw;51 using WorldEntity::pitch;52 using WorldEntity::roll;53 using WorldEntity::lookAt;54 using WorldEntity::setDirection;55 48 56 49 void setPosition(const Vector3& position); 57 void translate(const Vector3& distance, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL);58 50 void setOrientation(const Quaternion& orientation); 59 void rotate(const Quaternion& rotation, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL);60 void yaw(const Degree& angle, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL);61 void pitch(const Degree& angle, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL);62 void roll(const Degree& angle, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL);63 void lookAt(const Vector3& target, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL, const Vector3& localDirectionVector = Vector3::NEGATIVE_UNIT_Z);64 void setDirection(const Vector3& direction, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL, const Vector3& localDirectionVector = Vector3::NEGATIVE_UNIT_Z);65 51 66 52 private: 67 53 bool isCollisionTypeLegal(CollisionType type) const; 68 54 55 // network callbacks 69 56 inline void positionChanged() 70 57 { this->setPosition(this->getPosition()); }
Note: See TracChangeset
for help on using the changeset viewer.