17SShapeTree::SShapeTree() :
SShape(
"",
SShape::SO3_NULL_COLLISION)
22SShapeTree::SShapeTree(
const std::string& shapeName,
SEntity* entity,
const bool& optimize) :
SShape(shapeName,
SShape::SO3_TREE_COLLISION)
24 Ogre::Vector3 scale = Ogre::Vector3::UNIT_SCALE;
25#ifdef USE_COLLISION_NOSCALE
33SShapeTree::SShapeTree(
const std::string& shapeName,
SNode* node,
const bool& optimize) :
SShape(shapeName,
SShape::SO3_TREE_COLLISION)
35 Ogre::Vector3 scale = Ogre::Vector3::UNIT_SCALE;
36#ifdef USE_COLLISION_NOSCALE
TreeCollision - complex polygonal collision.
Ogre::Entity * getOgreEntityPointer()
SScene * GetParentScene()
virtual Ogre::Vector3 GetGlobalScale()
Ogre::SceneNode * GetOgreSceneNodePointer()
OgreNewt::World * GetPhysicWorld()
SPhysicWorld * GetPhysicsWorld()
OgreNewt::CollisionPtr mCollisionPtr