SO3Engine
|
SO3SliderContraint.cpp
Go to the documentation of this file.
14SSliderContraint::SSliderContraint() : SPhysicContraint(0, 0, 0, SPhysicContraint::SO3_SLIDER_CONTRAINT)
19SSliderContraint::SSliderContraint(SScene* scene, SBody* son, SBody* parent, Ogre::Vector3 position, Ogre::Vector3 pin, bool useLimits, bool useSpring) : SPhysicContraint(scene, son, parent, SPhysicContraint::SO3_SLIDER_CONTRAINT)
57 mJoint = static_cast<OgreNewt::Joint*> (new OgreNewt::Slider(mSonBody->getOgreNewtBodyPointer(), bparent, mPosition, mPin));
void waitForUpdateToFinish() const
Definition OgreNewt_World.h:361
Definition SO3Body.h:43
OgreNewt::Body * getOgreNewtBodyPointer()
Definition SO3Body.cpp:340
Definition SO3PhysicContraint.h:42
Definition SO3Scene.h:125
void SetSpring(Ogre::Real springStrength, Ogre::Real springDamping)
Definition SO3SliderContraint.cpp:93
virtual void SetSonBody(SBody *body)
Definition SO3SliderContraint.cpp:42
void SetLimits(Ogre::Real maxDist, Ogre::Real minDist)
Definition SO3SliderContraint.cpp:84
void SetMotorVelocity(Ogre::Real velocity, Ogre::Real strength)
Definition SO3SliderContraint.cpp:78
virtual void SetParentBody(SBody *body)
Definition SO3SliderContraint.cpp:35
void SetFriction(Ogre::Real friction)
Definition SO3SliderContraint.cpp:130
Manage Physics Contraint. .
Definition SO3DataScol.h:38
Generated by 1.9.8