Changeset 8853 in orxonox.OLD for branches/single_player_map/src/lib/collision_reaction
- Timestamp:
- Jun 28, 2006, 2:36:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/lib/collision_reaction/collision_event.h
r8490 r8853 25 25 { this->entityA = entityA; this->entityB = entityB; this->bvA = bvA; this->bvB = bvB; } 26 26 /** collides two WorldEntities @param entity world entity , @param ground ground plane, @param position position on the ground */ 27 inline void collide(WorldEntity* entity, WorldEntity* groundEntity, Vector normal, Vector position )28 { this->entityA = entity; this->entityB = groundEntity, this->groundNormal = normal; this->position = position; }27 inline void collide(WorldEntity* entity, WorldEntity* groundEntity, Vector normal, Vector position, bool bInWall) 28 { this->entityA = entity; this->entityB = groundEntity, this->groundNormal = normal; this->position = position; this->bInWall = bInWall; } 29 29 30 30 … … 53 53 Vector groundNormal; //!< the ground plane with which it collides (only for bsp-model collisions 54 54 Vector position; //!< position of the collision on the ground plane 55 56 bool bInWall; //!< true if is in wall 55 57 }; 56 58
Note: See TracChangeset
for help on using the changeset viewer.