Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2006, 10:15:00 PM (18 years ago)
Author:
patrick
Message:

bsp: new ground collision attribute tripple

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/world_entities/world_entity.cc

    r8216 r8219  
    410410 *  @param position it collides on the plane
    411411 */
    412 bool WorldEntity::registerCollision(WorldEntity* entity, Vector normal, Vector position)
     412bool WorldEntity::registerCollision(WorldEntity* entity, WorldEntity* groundEntity, Vector normal, Vector position)
    413413{
    414414  // is there any handler listening?
     
    419419  CollisionEvent* c = CREngine::getInstance()->popCollisionEventObject();
    420420  assert(c != NULL); // if this should fail: we got not enough precached CollisionEvents: alter value in cr_defs.h
    421   c->collide(entity, normal, position);
     421  c->collide(entity, groundEntity, normal, position);
    422422
    423423  for( int i = 0; i < CREngine::CR_NUMBER; ++i)
Note: See TracChangeset for help on using the changeset viewer.