Obi Official Forum
generate rope based on collision - 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: generate rope based on collision (/thread-1233.html)



generate rope based on collision - h00man - 19-06-2019

hi, i was wondering if there was any way to generate a rope at run time between my gun and for example a wall when i hit it?
if i hit a wall object with rigidbody bullets ,is there any way to create a rope between the point of collision and my gun model?
thanks.


RE: generate rope based on collision - josemendez - 19-06-2019

(19-06-2019, 02:07 PM)h00man Wrote: hi, i was wondering if there was any way to generate a rope at run time between my gun and for example a wall when i hit it?
if i hit a wall object with rigidbody bullets ,is there any way to create a rope between the point of collision and my gun model?
thanks.

Hi,

Yes, you can procedurally generate ropes. Check out this manual page:
http://obi.virtualmethodstudio.com/tutorials/scriptingactors.html

Also you have a fully working example of this included in the Obi/SampleScenes folder, it's called "RopeGrapplingHook".


RE: generate rope based on collision - h00man - 19-06-2019

(19-06-2019, 02:12 PM)josemendez Wrote: Hi,

Yes, you can procedurally generate ropes. Check out this manual page:
http://obi.virtualmethodstudio.com/tutorials/scriptingactors.html

Also you have a fully working example of this included in the Obi/SampleScenes folder, it's called "RopeGrapplingHook".

thanks man