I have a problem with the camera.
I have a sensor behind the player that’s looking for a collision with a wall.
When that happens, the camera moves towards the player because I don’t want it to clip inside the wall.
This all works but at a certain distance of 6+ units when the collision happens, the camera moves towards the player like it should and then returns back and then again back to the player.
This doesn’t happen when I’m close to the wall only with 6+ units away from the player.
When I set the camera further away, this doesn’t happen and it works as it should but the camera is too far from the player.
If I’m not wrong, this looks like the camera unloads the objects behind it at a certain distance.
Can you set the unloading distance?