I've been trying to figure out a good solution to a problem that I have. I'm using the BattleObject with specific locations on the object for the combatants to spawn when combat starts. Everything is fine except when I'm to close to a wall or building.
The enemies have a tendancy to be behind the walls when I'm to close to the wall and facing it. Is there a way to force the spawns to not appear behind walls when I'm too close?
I've played around with going to a battle scene (no walls there :)); but, it doesn't feel right for some reason. I like the combat starting and staying within the scene. Is it possible to check for object distance and push the spawn away from the wall when too close?
Anyone face this problem and have a solution?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I'll come up with something
Thanks
blindmonkeygames.com/index.html