SO3Engine
|
SO3ShapeCapsule.cpp
Go to the documentation of this file.
21SShapeCapsule::SShapeCapsule(const std::string& shapeName, SNode* node, const Ogre::Real& radius, const Ogre::Real& height) : SShape(shapeName, SShape::SO3_CAPSULE_COLLISION)
42 mCollisionPtr = OgreNewt::CollisionPtr(new OgreNewt::CollisionPrimitives::Capsule(node->GetParentScene()->GetPhysicsWorld()->GetPhysicWorld(), mRadius, mHeight, 0, mBaseRotation, mComputedOffset));
45SShapeCapsule::SShapeCapsule(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_CAPSULE_COLLISION)
67 mCollisionPtr = OgreNewt::CollisionPtr(new OgreNewt::CollisionPrimitives::Capsule(node->GetParentScene()->GetPhysicsWorld()->GetPhysicWorld(), mRadius, mHeight, 0, mBaseRotation, mComputedOffset));
standard primitive capsule.
Definition OgreNewt_CollisionPrimitives.h:126
Definition SO3Entity.h:43
Definition SO3NodeScol.h:43
Definition SO3Shape.h:47
Manage physics shape .
Definition SO3DataScol.h:38
Generated by 1.9.8