Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 24, 2005, 11:15:12 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: no only the overlap test is missing

File:
1 edited

Legend:

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

    r4689 r4695  
    124124/**
    125125   \brief this function is called, when two entities collide
    126    \param other: the world entity with whom it collides
    127    \param ownhitflags: flags to the CollisionCluster subsections that registered an impact
    128    \param otherhitflags: flags to the CollisionCluster subsections of the other entity that registered an impact
     126   \param entity: the world entity with whom it collides
    129127
    130128   Implement behaviour like damage application or other miscellaneous collision stuff in this function
    131129*/
    132 void WorldEntity::collideWith(WorldEntity* entity) {}
     130void WorldEntity::collideWith(WorldEntity* entity)
     131{
     132  this->obbTree->collideWith(entity->obbTree);
     133
     134}
    133135
    134136
Note: See TracChangeset for help on using the changeset viewer.