Use cylinder inertia tensor, instead of box, by default.
See Issue 427 Expose some internal data for constraints, Thanks to Francois Sugny, see Issue 420
This commit is contained in:
@@ -550,8 +550,12 @@ void btHingeConstraint::getInfo2Internal(btConstraintInfo2* info, const btTransf
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void btHingeConstraint::setFrames(const btTransform & frameA, const btTransform & frameB)
|
||||
{
|
||||
m_rbAFrame = frameA;
|
||||
m_rbBFrame = frameB;
|
||||
buildJacobian();
|
||||
}
|
||||
|
||||
|
||||
void btHingeConstraint::updateRHS(btScalar timeStep)
|
||||
|
||||
Reference in New Issue
Block a user