Question by
hema_dubal · Feb 05, 2018 at 03:27 AM ·
rotationrigidbody2dhingejoint2d
Not able to figure out how to Control Hinge joint rotation
I am working on making an arcade style claw in Unity 2D. and I am using Hinge joints to attach the 2 tongs to the parent. I am not much acquainted with hinge joints yet. So, can't figure out how to control the tongs movement. If I set the limits in rotation, it seems to move properly, but if I do that, I can't figure out how to rotate the two tongs? AddTorque and AddForce do not seem to work. Secondly, if I don't use limits, the left and right movement of the entire claw makes the tongs move haywire! I searched a lot but couldn't get to a proper solution. If anyone could guide me with this, it would be great! Thanks in advance..
Comment