Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2006, 4:42:44 PM (18 years ago)
Author:
patrick
Message:

bsp: some mods

Location:
branches/bsp_model/src/lib/collision_reaction
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/lib/collision_reaction/collision.h

    r8190 r8203  
    4343    inline void setEntityBCollide(bool flag) { this->entityACollide = flag; }
    4444
     45
    4546    /** @returns true if this Collision has already been dispatched */
    4647    inline bool isDispatched() { return this->bDispatched; }
  • branches/bsp_model/src/lib/collision_reaction/collision_event.h

    r8190 r8203  
    3838  inline BoundingVolume* getBVB() const { return this->bvB; }
    3939
     40  /** @return ground plane if collided with bsp model */
     41  inline Plane* getGroundPlane() { return this->ground; }
     42
     43
    4044
    4145  inline void operator()(WorldEntity* entityA, WorldEntity* entityB, BoundingVolume* bvA, BoundingVolume* bvB) { this->collide(entityA, entityB, bvA, bvB); }
  • branches/bsp_model/src/lib/collision_reaction/cr_physics_ground_walk.cc

    r8200 r8203  
    3333  : CollisionReaction()
    3434{
    35   this->setClassID(CL_CR_OBJECT_DAMAGE, "CRPhysicsGroundWalk");
     35  this->setClassID(CL_CR_PHYSICS_GROUND_WALK, "CRPhysicsGroundWalk");
    3636
    3737}
     
    5252void CRPhysicsGroundWalk::reactToCollision(Collision* collision)
    5353{
    54 
     54//   Vector normal = collision
    5555
    5656
Note: See TracChangeset for help on using the changeset viewer.