RTS Player Character world limit

I have set up a Pawn as my RTS Camera player and I’m trying to figure out how to stop it from going past the world limit. I’ve tried using a blocking volume but that didn’t work, is there another way I could stop the player from just going into the void forever?

Hmm the Blocking Volume should work. Did you block the Camera in the Trace Responses list?

Another way is to place an Actor in the center (origin) of your map. Then calculate the distance from the camera to check if it’s in the range limits.

1 Like

I messed around with it a bit today and found out that if I added a sphere collision it would work.