Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | theboifgyapi |
I’m making a game where the camera needs a sprite to follow it on the x axis, so that it always shows on screen. I have a KinematicBody2D for the player, and a Camera2D node as a child of the player, the main problem is that I can’t make the sprite follow the smoothing of the camera. I tried a lot of things already, including making the camera a scene, making the sprite it’s own scene, adding scripts to both the camera and the sprite, but nothing seems to work. I’m relatively new to godot so I don’t get a lot of how these nodes, scenes and other things work, so I’d like a bit of help.