1

I want to drag object based on Player touch and drag in device. So for reference I have used following script:

nucleartide/DragPiece2D.cs

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

enter image description here

  • Rigidbody Dragger Inspector

enter image description here

Actual object not getting any response of drag, so I want to move object based on drag.

halfer
  • 19,824
  • 17
  • 99
  • 186
Siddharth
  • 4,142
  • 9
  • 44
  • 90
  • In your inspector screenshot, I don't see the linked script being attached to the game object in question. – Max Yankov Aug 04 '16 at 15:20
  • This is dragger object's inspector so that one created runtime by script. Plugin script I have attached to Cube object. – Siddharth Aug 04 '16 at 15:26
  • Now I have implemented following things and able to reach at this point http://forum.unity3d.com/threads/physics-implementation-for-dragging-and-joint.422251/ – Siddharth Aug 17 '16 at 09:52

0 Answers0