Objects are sticking to my camera (Any tips to fix this?)

I’m new and making a racing game. I put up barriers and various background objects to prevent the player from skipping a section of the course. Unfortunately, when I test run the game all the barriers (and more background esthetic pieces) follow the camera and I drive through the hollow, empty, wasteland of my top down base layer. How can I fix this? I wish for the objects to be stationary. Thank you

Put the Player(Car) on a different layer than the barriers and background objects. Then the Camara action can only follow the player and the other things stay in their place. The same for GUI elements.
https://wiki.gdevelop.io/gdevelop5/interface/scene-editor/layers-and-cameras/

1 Like