EvergineTeam / Feedback

Feedback, feature requests, and bug reports for Evergine.
https://evergine.com
14 stars 1 forks source link

feature request for sensor as a zone detector #177

Open yg1988 opened 11 months ago

yg1988 commented 11 months ago

In the documentation for sensor it is not clear to me how to attach an call back when the 'enter' event happened. Could someone provide some instruction or an example please? https://docs.evergine.com/2023.9.28/manual/physics/physics_bodies/sensors.html Also, it would be nice if the sensor could be extened to trigger only when object absorbed by sensor completely, i.e. sort of like a zone (static sensor object) detector that detect object arrival. Is there a method for this to be supported?

Thank you very much.