I want to create a random spawning system for my VR shooter. The idea is that when one enemy is killed, it will spawn a replacement that will keep the game going. To keep it from being the same thing over and over that can be memorized, I want the enemy to spawn at a random location.
The catch is that it can't be a completely random location, or the enemy will end up stuck in an obstacle or spawned in a location outside of the range the AI can detect and hone in on the player.
So what I want to do is place down invisible markers in set locations that the enemy can potentially spawn, then when the event happens have the actual location used to be randomised.
Anyone have any idea how to do this?