There seems to be only
Code: Select all
btScalar getHingeAngle ()
btScalar getMotorTargetVelosity ()
If no response, I will calculate the velocity with the angle difference and time interval.
Cheers ! Open to discussions !
Code: Select all
btScalar getHingeAngle ()
btScalar getMotorTargetVelosity ()
Hi, Dirk, Would you please explain a bit more?Dirk Gregorius wrote:It is simply dot(omega2 - omega1, axis)
Code: Select all
btHingeConstraint(*pBodyA, *pBodyB, pivotA, pivotB, axisA, axisB);
Code: Select all
btHingeConstraint(*pBodyA, *pBodyB,localFrameA,localFrameB);
Code: Select all
btTransform localA=spHingeDynAB->getAFrame();
btVector3 localAorigin=localA.getOrigin();
btVector3 pivotInA=localA*btVector3(btScalar(0),btScalar(0),btScalar(1))-localAorigin;