I've been trying to add boundaries to my space game.
I've been following this tutorial with a sphere instead of a cube, but every time I start the game and move or rotate my ship it appears outside the sphere, as shown in the image:
The ship has a collider and a characterController.
Could anybody tell me what I'm doing wrong here? Thanks!