Changeset 5026 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Aug 15, 2005, 8:30:28 PM (19 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/world_entity.cc
r4998 r5026 101 101 * Implement behaviour like damage application or other miscellaneous collision stuff in this function 102 102 */ 103 void WorldEntity::collide With(WorldEntity* entity)103 void WorldEntity::collidesWith(WorldEntity* entity) 104 104 { 105 this->obbTree->collideWith(entity->obbTree, (PNode*)this, (PNode*)entity);105 //this->obbTree->collideWith(entity->obbTree, (PNode*)this, (PNode*)entity); 106 106 } 107 107 -
orxonox/trunk/src/world_entities/world_entity.h
r4885 r5026 40 40 /** @returns true if the entity is visible, false otherwise */ 41 41 bool isVisible() const { return this->bVisible; }; 42 42 43 void setCharacterAttributes(CharacterAttributes* charAttr); 43 44 CharacterAttributes* getCharacterAttributes(); 45 46 /** @returns a reference to the obb tree of this worldentity */ 47 BVTree* getOBBTree() { return this->obbTree; } 44 48 45 49 virtual void postSpawn (); … … 47 51 48 52 virtual void hit (WorldEntity* weapon, Vector* loc); 49 virtual void collide With (WorldEntity* entity);53 virtual void collidesWith (WorldEntity* entity); 50 54 51 55 /** @returns the Count of Faces on this WorldEntity */
Note: See TracChangeset
for help on using the changeset viewer.