Hello,
I'm actually working on how to generate randomly my dungeon.
I recently read this topic:
http://hutonggames.com/playmakerforum/index.php?topic=7522.0It was very interesting (And I thank bizilux for shared with us).
But now I'm working on how to check what space is available in front of my room. And so, being able to spawn a new room with correct size for fitting into this empty space.
But I really have trouble to being able to check what's available in front of my room.
-I try with spawning a grid (Picture A) I don't know how the retrieve the result.
-I try with Raycast (picture B) --> it's not very precise and let error gap
-I try with Multiple Raycast (Picture C) Like you can see on picture, the result is not correct. The calculation method has error.
Do you have any ideas, suggestion on how to detect space in front of my room? How I can do that? Am I missing something?
Thanks