Hello All,
I have set up my bodies and joints, but for some joints the initial getHingeAngle value ends up being close to pi, then while running the simulation the the getHingeAngle values will jump from being around pi to being around -pi. Does anyone know of an elegant way of calculating more continuous values.
As my joints don not rotate completely I am thinking of storing the initial angle in the HingeConstraint instance and rotating the angles so that the initial angle becomes 0.
I have attached a graph of the hinge angle values,
Thanks for any help in advance
BR,
How do I adjust getHingeAngle to be continuous?
-
- Posts: 5
- Joined: Mon Sep 20, 2010 1:59 pm
How do I adjust getHingeAngle to be continuous?
You do not have the required permissions to view the files attached to this post.