I'm trying to make a program in Unity for playing around with shadow play puppets (mostly "Karagöz"). The characters i want to use made out of jointed limbs. There is a hole on their upperbody which allows to use sticks to move them behind curtain and rotate the bodies: Example1
I build the 2D characters with HingeJoints to simulate how they actually move. i think best way to move them is using mouse. You can drag them with mouse and use the scroll wheel to rotate the bodies.
I put a circle collider on the hole of the character and used a similar script like this one to drag my character. My problem is the dragRigidbody2D solutions based on using a spring joint, and its just too springy for my usage and doesnt allow me to use rotating from the same point.
Has anyone an idea how to achive dragging and rotating 2D Rigidbodies with Hingejoints from this certain hole without making it springy / bouncey?
The solution is using Target Joint for dragging and AddTorque
for rotating