I’m using multiple Hinge Joint to make a crane, and I find that the hingejoint.angle is not the same angle using in hingejoint.limits. The angle will change if I rotate parent hingejoint using motor.
And in motor, I find that setting targetvelocity to zero will not stop hinge joint rotating by gravity. I have to set a small value to it, like 3, so the hingejoint can fully stop.
I’m not sure whether it is a bug or I’m mistakenly using hingejoint. Anyone have some idea? Thanks.
Anyone?
I also do some test, that the hingejoint.angle is not equal to rotation angles even when I don’t rotate the joint.
So how is the hingejoint.angle calculate? And how can I get a real angle of current hingejoint? Great thanks!