- Home /
Damping the rotation of a camera that is attached to an object.
I have an object that is moving and turning a lot, and I have a camera that is the child of that object. The camera is displaced a bit behind the object, and of course it automatically moves and rotates. The problem is, even though I already have the object's rotation damped, the camera looks like it's jerking around when the object turns rapidly.
Answer by Illogical-Ironic · Aug 26, 2011 at 01:24 AM
Add a SmoothFollow script to the camera, and don't make the camera a child of the object. Then, assign the "Target" to the object you want the camera to follow. I had the same problem with a rolling ball, and the script i mentioned helped out a lot.
Your answer
![](https://koobas.hobune.stream/wayback/20220612192043im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
damping the camera with mouse orbit script 0 Answers
Rotate Camera in Increments with Damping 2 Answers
How to fix weird camera rotation? 0 Answers
Camera rotation - button emulation 0 Answers
Camera X and Y velocity HELP! 0 Answers