Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | PedroMoniz |
I am creating a simple scenario where I have a camera with a body inside that has a position2d inside it.
Camera2d
-KinematicBody
–Position2d
I want to move the camera via an animation, think of it as an “on-rails game”. The animationPlayer will control the entire level.
When the camera position changes, the kbody also changes and everything is good and makes sense.
However, the Position2D inside the kbody starts to move as well instead of staying in relation to the kbody. It ends up moving twice as fast which makes no sense at all to me.
How do I solve this problem? Does it have to do with a kinematic body being moved via animation at the same time?