Logo Search packages:      
Sourcecode: blender version File versions  Download package

btRotationalLimitMotor Class Reference

#include <btGeneric6DofConstraint.h>

List of all members.

Detailed Description

Rotation Limit structure for generic joints.

Definition at line 36 of file btGeneric6DofConstraint.h.

Public Member Functions

 btRotationalLimitMotor (const btRotationalLimitMotor &limot)
bool isLimited ()
 Is limited.
bool needApplyTorques ()
 Need apply correction.
btScalar solveAngularLimits (btScalar timeStep, btVector3 &axis, btScalar jacDiagABInv, btRigidBody *body0, btSolverBody &bodyA, btRigidBody *body1, btSolverBody &bodyB)
 apply the correction impulses for two bodies
int testLimitValue (btScalar test_value)
 calculates error

Public Attributes

btScalar m_accumulatedImpulse
int m_currentLimit
 current value of angle
btScalar m_currentLimitError
btScalar m_currentPosition
 How much is violated this limit.
btScalar m_bounce
 restitution factor
btScalar m_damping
bool m_enableMotor
btScalar m_ERP
 Relaxation factor.
btScalar m_hiLimit
 joint limit
btScalar m_limitSoftness
btScalar m_loLimit
 joint limit
btScalar m_maxLimitForce
 max force on limit
btScalar m_maxMotorForce
 max force on motor
btScalar m_targetVelocity
 target motor velocity

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index