Add some accessor methods to btHingeConstraint and btSliderConstraint, to allow conversion.
Thanks to Roman Ponomarev.
This commit is contained in:
@@ -403,3 +403,4 @@ btScalar btHingeConstraint::getHingeAngle()
|
||||
|
||||
return btAtan2Fast( swingAxis.dot(refAxis0), swingAxis.dot(refAxis1) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user