Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5044 in orxonox.OLD for orxonox/trunk/src/world_entities


Ignore:
Timestamp:
Aug 16, 2005, 8:44:55 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: cd now works all obj-obj collisions are detected and for each is a message displayed in the console. since the small enemy spacefracts follow the player at one point - there are many collisions at the same time…

Location:
orxonox/trunk/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/npc.cc

    r5042 r5044  
    4343void NPC::collidesWith(WorldEntity* entity, const Vector& location)
    4444{
    45   PRINTF(0)("COLLISION ---------------------------- with object: %s\n", entity->getName());
     45  PRINTF(0)("COLLISION with an NPC\n");
    4646}
    4747
  • orxonox/trunk/src/world_entities/world_entity.cc

    r5042 r5044  
    105105void WorldEntity::collidesWith(WorldEntity* entity)
    106106{
    107   //this->obbTree->collideWith(entity->obbTree, (PNode*)this, (PNode*)entity);]
    108   PRINTF(0)("COLLISION ---------------------------- with object: %s\n", entity->getName());
     107  PRINTF(0)("COLLISION with a WorldEntity\n");
    109108}
    110109
     
    118117void WorldEntity::collidesWith(WorldEntity* entity, const Vector& location)
    119118{
    120   //this->obbTree->collideWith(entity->obbTree, (PNode*)this, (PNode*)entity);]
    121   PRINTF(0)("COLLISION ---------------------------- with object: %s\n", entity->getName());
     119  PRINTF(0)("COLLISION with a WorldEntity\n");
    122120}
    123121
Note: See TracChangeset for help on using the changeset viewer.