Logo Search packages:      
Sourcecode: blender version File versions

btHingeConstraint Class Reference

#include <btHingeConstraint.h>

Inheritance diagram for btHingeConstraint:


List of all members.

Detailed Description

hinge constraint between two rigidbodies each with a pivotpoint that descibes the axis location in local space axis defines the orientation of the hinge axis

Definition at line 28 of file btHingeConstraint.h.

Public Member Functions

 btHingeConstraint (btRigidBody &rbA, const btVector3 &pivotInA, btVector3 &axisInA)
 btHingeConstraint (btRigidBody &rbA, btRigidBody &rbB, const btVector3 &pivotInA, const btVector3 &pivotInB, btVector3 &axisInA, btVector3 &axisInB)
virtual void buildJacobian ()
void enableAngularMotor (bool enableMotor, btScalar targetVelocity, btScalar maxMotorImpulse)
btScalar getAppliedImpulse ()
btRigidBodygetRigidBodyA ()
const btRigidBodygetRigidBodyA () const
btRigidBodygetRigidBodyB ()
const btRigidBodygetRigidBodyB () const
int getUserConstraintId ()
int getUserConstraintType () const
void setAngularOnly (bool angularOnly)
void setUserConstraintId (int uid)
void setUserConstraintType (int userConstraintType)
virtual void solveConstraint (btScalar timeStep)
void updateRHS (btScalar timeStep)

Protected Attributes

btScalar m_appliedImpulse

Private Attributes

bool m_angularOnly
btVector3 m_axisInA
btVector3 m_axisInB
bool m_enableAngularMotor
btJacobianEntry m_jac [3]
btJacobianEntry m_jacAng [3]
btScalar m_maxMotorImpulse
btScalar m_motorTargetVelocity
btVector3 m_pivotInA
btVector3 m_pivotInB

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

Generated by  Doxygen 1.6.0   Back to index