SO3Engine
|
SO3ShapeCone.cpp
Go to the documentation of this file.
21SShapeCone::SShapeCone(const std::string& shapeName, SNode* node, const Ogre::Real& radius, const Ogre::Real& height) : SShape(shapeName, SShape::SO3_CONE_COLLISION)
40 mCollisionPtr = OgreNewt::CollisionPtr(new OgreNewt::CollisionPrimitives::Cone(node->GetParentScene()->GetPhysicsWorld()->GetPhysicWorld(), mRadius, mHeight, 0, Ogre::Quaternion::IDENTITY, mComputedOffset));
43SShapeCone::SShapeCone(const std::string& shapeName, SNode* node, const Ogre::Real& radius, const Ogre::Real& height, const Ogre::Vector3& offset, const Ogre::Quaternion& quat) : SShape(shapeName, SShape::SO3_CONE_COLLISION)
65 mCollisionPtr = OgreNewt::CollisionPtr(new OgreNewt::CollisionPrimitives::Cone(node->GetParentScene()->GetPhysicsWorld()->GetPhysicWorld(), mRadius, mHeight, 0, mBaseRotation, mComputedOffset));
standard primitive cone.
Definition OgreNewt_CollisionPrimitives.h:154
Definition SO3Entity.h:43
Definition SO3NodeScol.h:43
Definition SO3Shape.h:47
Manage physics shape .
Definition SO3DataScol.h:38
Generated by 1.9.8