iam trying to implement some triggerzones into my project. For example if the player gets close to a door, the door opens, if the player moves away again, the door closes again…
In other engines i worked with i would simple put a invisible geometry in place and listen to an onTriggerEnter and onTriggerExit event. Is their something like this in Babylon?
Hi guys. If I may add a quick note, there are similar options for “first person shooter”-game intersections (when player is a freeCamera, for example).
I see my good friend @gryff nearby, possibly replying. Hi G-man, good to see you!
thanks alot for all your replys.
i was wondering how far can i go with intersectsMesh() or an action manager? 50 trigger obejects? 100? 10 000?
is it somehow managed in the background?