Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.