Obi Official Forum

Full Version: generate rope based on collision
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
(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/tutor...ctors.html

Also you have a fully working example of this included in the Obi/SampleScenes folder, it's called "RopeGrapplingHook".
(19-06-2019, 02:12 PM)josemendez Wrote: [ -> ]Hi,

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

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

thanks man