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?
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.