- Timestamp:
- Nov 28, 2008, 1:25:16 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/orxonox/objects/worldentities/ControllableEntity.h
r2201 r2292 79 79 { return this->hudtemplate_; } 80 80 81 void setPosition();82 void translate(const Vector3& distance, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL);83 void setOrientation(const Quaternion& orientation);84 void rotate(const Quaternion& rotation, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL);85 void yaw(const Degree& angle, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL);86 void pitch(const Degree& angle, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL);87 void roll(const Degree& angle, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL);88 void lookAt(const Vector3& target, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL, const Vector3& localDirectionVector = Vector3::NEGATIVE_UNIT_Z);89 void setDirection(const Vector3& direction, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL, const Vector3& localDirectionVector = Vector3::NEGATIVE_UNIT_Z);90 91 81 void setVelocity(const Vector3& velocity); 92 82 inline void setVelocity(float x, float y, float z) 93 { this->velocity_.x = x; this->velocity_.y = y; this->velocity_.z = z; }83 { setVelocity(Vector3(x,y,z)); } 94 84 95 85 inline void setAcceleration(const Vector3& acceleration) … … 137 127 void processClientOrientation(); 138 128 129 inline void internalSetVelocity(const Vector3& velocity) 130 { this->velocity_ = velocity; } 131 void positionChanged(); 132 void orientationChanged(); 133 void velocityChanged(); 134 139 135 void networkcallback_changedplayerID(); 140 136
Note: See TracChangeset
for help on using the changeset viewer.