Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8288 in orxonox.OLD for branches/bsp_model/src/world_entities


Ignore:
Timestamp:
Jun 8, 2006, 6:30:52 PM (18 years ago)
Author:
patrick
Message:

bsp: the collision reaction is on its way… a long one…

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  
    5959    float                 rotation;
    6060
    61     Vector                velocity;           //!< the velocity of the TurbineHover.
     61   // Vector                velocity;           //!< the velocity of the TurbineHover.
    6262    Quaternion            direction;          //!< the direction of the TurbineHover.
    6363    float                 travelSpeed;        //!< the current speed of the Hove (to make soft movement)
  • branches/bsp_model/src/world_entities/world_entity.h

    r8219 r8288  
    137137  inline float getMass() const { return this->physicsInterface.getMass(); }
    138138  inline float getTotalMass() const { return this->physicsInterface.getTotalMass(); }
     139  inline void setVelocity(const Vector& vel) { this->velocity = vel; }
    139140
    140141
     
    186187  PhysicsInterface        physicsInterface;                //!< the physics object of the WorldEntity
    187188
     189
     190  protected:
     191  Vector                  velocity;                        //!< speed of the entity
     192
    188193};
    189194
Note: See TracChangeset for help on using the changeset viewer.