Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 2, 2015, 6:01:56 PM (9 years ago)
Author:
fvultier
Message:

2 problems fixed: The collidesAgainst function in the hovership get now properly called. The Hoverhalls have a collisionShape that works.

Location:
code/branches/hoverHS15/src/modules/invader
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hoverHS15/src/modules/invader/InvaderShip.cc

    r10624 r10760  
    139139        isFireing = bBoost;
    140140    }
    141     inline bool InvaderShip::collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint)
     141    inline bool InvaderShip::collidesAgainst(WorldEntity* otherObject, const btCollisionShape* cs, btManifoldPoint& contactPoint)
    142142    {
    143143        // orxout() << "touch!!! " << endl; //<< otherObject << " at " << contactPoint;
  • code/branches/hoverHS15/src/modules/invader/InvaderShip.h

    r10624 r10760  
    6565            virtual void updateLevel();
    6666
    67             virtual inline bool collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint);
     67            virtual inline bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* cs, btManifoldPoint& contactPoint);
    6868
    6969        protected:
Note: See TracChangeset for help on using the changeset viewer.