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:
@@ -1114,4 +1114,12 @@ btScalar btConeTwistConstraint::getParam(int num, int axis) const
|
||||
}
|
||||
|
||||
|
||||
void btConeTwistConstraint::setFrames(const btTransform & frameA, const btTransform & frameB)
|
||||
{
|
||||
m_rbAFrame = frameA;
|
||||
m_rbBFrame = frameB;
|
||||
buildJacobian();
|
||||
//calculateTransforms();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user