Hello, let’s say there is a camera object (as a child) under the Player object, and naturally the camera automatically follows wherever the player goes or turns. However, when the player suddenly turns 180 degrees to the right or left, the camera turns very hard with the player. How can I soften the rotation of this camera? Can you leave a sample code block?
I looked at the Tween library but didn’t understand much.
If the camera is always the child of the object that it is following, then there is no easy way to really add damping there as any changes to the rotation of the object directly affects the camera.
You would want the camera to be an entity that isn’t a child of it and have logic to follow it.