Obi Official Forum
Changing Substeps at runtime - 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: Changing Substeps at runtime (/thread-4079.html)



Changing Substeps at runtime - FadelMS - 17-12-2023

Hi,
Is it possible to change the substeps in scrip at runtime? 
I want the rope to start stretchy then when grabbed becomes stiff by increasing the substeps to stop its movements. 
Is there another alternative to make the rope looks tight when grabbed?


RE: Changing Substeps at runtime - josemendez - 18-12-2023

(17-12-2023, 07:00 PM)FadelMS Wrote: Hi,
Is it possible to change the substeps in scrip at runtime? 

Hi,

Yes, it's just a public variable of the ObiFixedUpdater component.

(17-12-2023, 07:00 PM)FadelMS Wrote: I want the rope to start stretchy then when grabbed becomes stiff by increasing the substeps to stop its movements. 
Is there another alternative to make the rope looks tight when grabbed?

Make sure your rope blueprint uses the lowest possible resolution. This will make it far more resistant to stretching even under low substep counts.

kind regards,