- Home /
Attach the Camera to Rigidbody(player) (Roll-A-Ball)
Hi everyone!
I create a game from this Roll-A-Ball turorial. (http://unity3d.com/learn/tutorials/projects/roll-a-ball/introduction)
My problem is, I want to attach a camera to the rolling ball. I tried the parent-child connection between the cam and player object but the camera rotating every axis. I need to rotate (turn) with the player smoothly, and of course the ball still rolling.
Please help I only use Unity since few days.
Answer by tanoshimi · Jan 10, 2015 at 01:18 PM
Don't child the camera to a rolling object. Try using one of the camera follow scripts that comes with Unity (Import -> Standard Assets)
Your answer
Follow this Question
Related Questions
Collision with camera inspection target 0 Answers
How can I make my rigidbody latch onto a wall? [C#] 1 Answer
Camera twitching problem 0 Answers
Very jerky camera movement with rigidbody 1 Answer
How do I disable mouse to turning right 0 Answers