Changeset 8288 in orxonox.OLD for branches/bsp_model/src/world_entities
- Timestamp:
- Jun 8, 2006, 6:30:52 PM (18 years ago)
- Location:
- branches/bsp_model/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/world_entities/space_ships/turbine_hover.h
r7348 r8288 59 59 float rotation; 60 60 61 Vector velocity; //!< the velocity of the TurbineHover.61 // Vector velocity; //!< the velocity of the TurbineHover. 62 62 Quaternion direction; //!< the direction of the TurbineHover. 63 63 float travelSpeed; //!< the current speed of the Hove (to make soft movement) -
branches/bsp_model/src/world_entities/world_entity.h
r8219 r8288 137 137 inline float getMass() const { return this->physicsInterface.getMass(); } 138 138 inline float getTotalMass() const { return this->physicsInterface.getTotalMass(); } 139 inline void setVelocity(const Vector& vel) { this->velocity = vel; } 139 140 140 141 … … 186 187 PhysicsInterface physicsInterface; //!< the physics object of the WorldEntity 187 188 189 190 protected: 191 Vector velocity; //!< speed of the entity 192 188 193 }; 189 194
Note: See TracChangeset
for help on using the changeset viewer.