- Home /
Question by
geryc123 · Feb 15, 2014 at 05:42 PM ·
bugdragrigidbody
Dragrigidbody big problem. Modification script.
I use a script dragrigidbody to move an object when the player is close and raises object there is a bug that throws the player of the up. So how to set a minimum distance between the camera and the subject was just like in the game "portal" ?
Comment
Answer by MakeCodeNow · Feb 15, 2014 at 06:10 PM
You want to use a FixedJoint instead of moving the rigid body directly. If you create a GameObject with a FixedJoint and keep that GameObject at a certain offset from your camera, it'll do what you want.
Your answer
Follow this Question
Related Questions
Unity Coroutine problem 1 Answer
Is OverlapCircle broken? 0 Answers
Setting angular and linear velocity to a rigid body don't awake it??? 1 Answer
Is it a bug? 1 Answer
Scene and hierarchy suddenly empty 0 Answers