Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 12, 2014, 6:39:46 PM (11 years ago)
Author:
noep
Message:

Added functions to print the collisionshape-structure of a Pawn which gets hit. Doesn't quite work yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/modularships/src/orxonox/worldentities/WorldEntity.h

    r9995 r9997  
    408408            */
    409409            virtual bool isCollisionTypeLegal(CollisionType type) const = 0;
     410
     411            inline virtual WorldEntityCollisionShape* getWorldEntityCollisionShape()
     412                { return this->collisionShape_; }
    410413
    411414            btRigidBody*  physicalBody_; //!< Bullet rigid body. Everything physical is applied to this instance.
Note: See TracChangeset for help on using the changeset viewer.