- Home /
DragRigidbody
Hello! im new to unity but i know how to pick up things using the "DragRigidbody" script. But the problem is that the thing im trying to pick up (witch is a box) follows the mouse! I want it to stay in the middle of the screen, can anybody help?
Answer by ratboy · May 08, 2012 at 03:09 PM
attach the script to the main camera or the camera you are using. its probably all in the docs or elsewhere on the forums/answers. I'm sure thats where i found it lol.
oh the rigidbody can't be kinematic with the default script.
thanks but its the same... i want it to be draged via a crosshair or something
Your answer
Follow this Question
Related Questions
2D Rigidbody Drag with Mouse 0 Answers
Spin non kinematic object ? 1 Answer
Play Sound When Opening Door 2 Answers
how to drag gameobject up to 180 and down to -180 using mouse drag? 0 Answers
DragRigidbody Not Working Properly 2 Answers