Changeset 8490 in orxonox.OLD for trunk/src/world_entities/world_entity.h
- Timestamp:
- Jun 15, 2006, 9:34:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/world_entity.h
r8190 r8490 29 29 class CollisionHandle; 30 30 class Collision; 31 class Plane;32 31 33 32 … … 86 85 87 86 bool registerCollision(WorldEntity* entityA, WorldEntity* entityB, BoundingVolume* bvA, BoundingVolume* bvB); 88 bool registerCollision(WorldEntity* entity, Plane* plane, Vector position);87 bool registerCollision(WorldEntity* entity, WorldEntity* groundEntity, Vector normal, Vector position); 89 88 /** @return true if there is at least on collision reaction subscribed */ 90 89 inline bool isReactive() const { return this->bReactive; } … … 138 137 inline float getMass() const { return this->physicsInterface.getMass(); } 139 138 inline float getTotalMass() const { return this->physicsInterface.getTotalMass(); } 139 inline void setVelocity(const Vector& vel) { this->velocity = vel; } 140 140 141 141 … … 187 187 PhysicsInterface physicsInterface; //!< the physics object of the WorldEntity 188 188 189 190 protected: 191 Vector velocity; //!< speed of the entity 192 189 193 }; 190 194
Note: See TracChangeset
for help on using the changeset viewer.