I have a screen border collision shape and a player with three sphere collision shapes.
The player is in a group called “player” and can detect collisions with the “screen” group. Likewise, the screen border is in a group called “screen” and can detect collisions with the “player” group.
The player can move in all directions with no gravity affecting it, like a top-down game.
I want to stop the player from leaving the screen.
I set the screen collision object to Static and the player’s to Kinematic, but the player is still able to leave the screen.
I tried combing the Getting Started tutorial to find a way to make objects collide and stop, but I had no luck.
How do I get my collisions to work? Is there an easier way to do this?