SO3Engine
|
OgreNewt_BasicJoints.h
Go to the documentation of this file.
6 OgreNewt basically has no license, you may use any or all of the library however you desire... I hope it can help you in any way.
37 BallAndSocketLimits( const OgreNewt::Body* child, const OgreNewt::Body* parent, const Ogre::Vector3& pos );
78 BallAndSocket( const OgreNewt::Body* child, const OgreNewt::Body* parent, const Ogre::Vector3& pos );
110 ControlledBallAndSocket( const OgreNewt::Body* child, const OgreNewt::Body* parent, const Ogre::Vector3& pos );
155 Hinge (const OgreNewt::Body* child, const OgreNewt::Body* parent, const Ogre::Vector3& pos, const Ogre::Vector3& pin );
245 Slider(const OgreNewt::Body* child, const OgreNewt::Body* parent, const Ogre::Vector3& pos, const Ogre::Vector3& pin );
349 Universal( const World* world, const OgreNewt::Body* child, const OgreNewt::Body* parent, const Ogre::Vector3& pos, const Ogre::Vector3& pin0, const Ogre::Vector3& pin1 );
355 Ogre::Radian getJointAngle0() const { return Ogre::Radian(NewtonUniversalGetJointAngle0( m_joint )); }
358 Ogre::Radian getJointAngle1() const { return Ogre::Radian(NewtonUniversalGetJointAngle1( m_joint )); }
361 Ogre::Real getJointOmega0() const { return (Ogre::Real)NewtonUniversalGetJointOmega0( m_joint ); }
364 Ogre::Real getJointOmega1() const { return (Ogre::Real)NewtonUniversalGetJointOmega1( m_joint ); }
535 CustomRigidJoint( OgreNewt::Body* child, OgreNewt::Body* parent, Ogre::Vector3 dir, Ogre::Vector3 pos);
Ogre::Real m_motorMinFriction
Definition OgreNewt_BasicJoints.h:222
Ogre::Real m_motorMaxFriction
Definition OgreNewt_BasicJoints.h:223
ConstraintType m_constraintType
Definition OgreNewt_BasicJoints.h:209
ConstraintType m_lastConstraintType
Definition OgreNewt_BasicJoints.h:210
Definition OgreNewt_Joint.h:134
Custom2DJoint class.
Definition OgreNewt_BasicJoints.h:479
void setLimits(Ogre::Degree min, Ogre::Degree max)
set rotational limits for the joint.
Definition OgreNewt_BasicJoints.h:494
void resetAngle()
Definition OgreNewt_BasicJoints.h:507
bool getLimitsOn() const
returns whether limits are turned on or off for the joint.
Definition OgreNewt_BasicJoints.h:500
Ogre::Radian getAngle() const
get the current angle of the joint.
Definition OgreNewt_BasicJoints.h:491
void addAccel(Ogre::Real accel)
adds rotational acceleration to the joint (like a motor)
Definition OgreNewt_BasicJoints.h:503
void setLimitsOn(bool onoff)
sets whether to enable limits or not for the joint.
Definition OgreNewt_BasicJoints.h:497
CustomFixedJoint.
Definition OgreNewt_BasicJoints.h:533
void setCallback(UniversalCallback callback)
set a custom callback for controlling this joint.
Definition OgreNewt_BasicJoints.h:375
NewtonHingeSliderUpdateDesc * m_desc
Definition OgreNewt_BasicJoints.h:430
Ogre::Real getJointOmega0() const
get the rotational velocity around pin0.
Definition OgreNewt_BasicJoints.h:361
Ogre::Real getJointOmega1() const
get the rotational velocity around pin1.
Definition OgreNewt_BasicJoints.h:364
void setPin(const Ogre::Vector3 &pin) const
set the pin direction.
Definition OgreNewt_BasicJoints.h:460
Generated by 1.9.8