Changeset 10437 for code/trunk/src/orxonox/worldentities/MobileEntity.h
- Timestamp:
- May 8, 2015, 12:17:03 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/worldentities/MobileEntity.h
r9667 r10437 38 38 namespace orxonox 39 39 { 40 /** 41 @brief 42 The MobileEntity is a derived class from @ref orxonox::WorldEntity and @ref orxonox::Tickable. It is supposed to be the base class of 43 @ref orxonox::MovableEntity and @ref orxonox::ControllableEntity. You will never need to instanciate a MobileEntity directly. 44 Use only its derivatives. 45 In addition to the functionalities of the @ref orxonox::WorldEntity this class has a linear and angular velocity and a linear and angular acceleration. 46 Every time the @see tick function is called the linear acceleration is multiplied by the time since the last call of tick and then added to the 47 linear velocity. Then the linear velocity is multiplied by the time since the last call of tick and then added to the position. The same happens with 48 the angular acceleration and velocity. With this procedure MobileEntities can change their position and orientation with time. 49 */ 50 40 51 class _OrxonoxExport MobileEntity : public WorldEntity, public Tickable 41 52 {
Note: See TracChangeset
for help on using the changeset viewer.