- Home /
Question by
siddharth3322 · Aug 04, 2016 at 11:02 AM ·
rigidbody2dphysics2djointdraggingspringjoint
Drag rigid body based on touch in 2D
I want to drag object based on Player touch and drag in device. So for reference I have used following script:
At present object was not reacting based on touch. But definitely joint between two objects get established.
You can check following two images for more understanding.
Joint created and I dragged mouse
Rigidbody Dragger Inspector
Actual object not getting any response of drag, so I want to move object based on drag. Please give me your help in this.
screen-shot-2016-08-04-at-42620-pm.png
(41.8 kB)
screen-shot-2016-08-04-at-42724-pm.png
(55.8 kB)
Comment