Obi Official Forum
Help OnTriggerEnter like detection - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html)
+--- Thread: Help OnTriggerEnter like detection (/thread-1495.html)



OnTriggerEnter like detection - Lokeyyyy - 23-11-2019

Hello there, I would like to know if there is any method like OnTriggerEnter in Unity I can use for detection?  More precisely to know which particle has detected a Trigger/Collider
Thank you!



RE: OnTriggerEnter like detection - josemendez - 23-11-2019

(23-11-2019, 04:26 AM)Lokeyyyy Wrote: Hello there, I would like to know if there is any method like OnTriggerEnter in Unity I can use for detection?  More precisely to know which particle has detected a Trigger/Collider
Thank you!

Hi,

Yes, use the solver's OnCollision event:
http://obi.virtualmethodstudio.com/tutorials/scriptingcollisions.html