I am really out of ideas apart from engineering this to a point it wouldn’t be fun anymore but…
How do you deal with the problems occuring when spawning multiple actors at certain locations.
For example, if a player is mining a rock and you want to spawn pebble somewhat near that… Or if he kills an enemy and his items drop at his death location. Or if you want to spawn a squad of AI enemies relatively close to each other… Sadly, the “Try to adjust location, but always spawn” option doesn’t help that much.
Physics objects often spawn inside each other and get stuck and glitch or sometimes even spawn underground and fall through the ground. I managed to reduce the issue by adjusting the spawn location with some random vector, but it still happens sometimes.
For spawning AI, the “Get Random Reachable Point” works rather well, but I still wonder if there’s any better solution.
Also, how would you handle game critical spawns like very rare or even unique drops like quest items or maybe even boss enemies for example. Things that have to spawn correctly and be reachable.
- How can we avoid obstruction
- How can we relocate to a valid spawn location
Thanks for all input and have a nice weekend!