Obi Official Forum
On trigger - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Softbody (https://obi.virtualmethodstudio.com/forum/forum-12.html)
+--- Thread: On trigger (/thread-2971.html)



On trigger - ReaperQc - 05-06-2021

Hi, I am trying to activate some effect with OntriggerEnter for exemple, but i can't seem to find how to let my trigger know my actor entered in the space of the trigger.


RE: On trigger - josemendez - 05-06-2021

(05-06-2021, 04:36 PM)ReaperQc Wrote: Hi, I am trying to activate some effect with OntriggerEnter for exemple, but i can't seem to find how to let my trigger know my actor entered in the space of the trigger.

Unity’s OnCollision/OnTrigger functions only work with built-in colliders.

Obi uses collision callbacks instead. See:
http://obi.virtualmethodstudio.com/tutorials/scriptingcollisions.html