Help Obi Rope - Tear Event - 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 Obi Rope - Tear Event (/thread-3794.html) |
Obi Rope - Tear Event - Augusto - 09-03-2023 Hi, Firstly, congratulations, these plugins are simple incredible! Perhaps I missed something, but, is there an event to detect the rope tear? Some kind of "rope.OnTear()" callback would be great. I'm doing a climber game, ropes are tearing ok according to the resistence used. I'm just missing something to detect this event, and instantiate an effect (particles) on the event point. Thanks, RE: Obi Rope - Tear Event - josemendez - 09-03-2023 (09-03-2023, 04:35 PM)Augusto Wrote: Hi, Hi! Thanks for your kind words Yes, the event is called OnRopeTorn. As parameters you'll get the rope and a ObiRopeTornEventArgs instance, that contains the structural element being torn and the index of the torn particle. kind regards, |