How can I spawn actors a certain distance away from the player?

Luke Music
Thu, 07 Oct 2021 02:58:46 +0000
World Creation

So I’m making a space game where you fly a ship around. I want to spawn meteors but only when they are just outside the players view (Which Is Limited By Fog). I have tried spawning them using “random location in bounding box” But this causes them to spawn inside the view distance. Is there a way to set up a circle like the one below, to spawn them ONLY outside it’s radius?

6 posts - 3 participants