Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extend a rope when the attached object shot from a position
#3
(20-09-2022, 09:58 AM)josemendez Wrote: Hi there,

Depends on what you want to do exactly. Do you want the rope to be simulated as the rigidbody flies around, you can measure the distance between the point where the rope is shot from and call cursor.ChangeLength() (see: http://obi.virtualmethodstudio.com/manua...ursor.html)

Or, if you want the rope to be a straight line that follows the rigidbody and starts simulating once the rigidbody hits something, you can use the technique shown in the "RopeGrapplingHook" sample scene.

kind regards,


Thanks, basically the RopeGrapplingHook working.
But I have more probleme:

When the rope attached to the floor (reached the floor at the bottom) I need to attach the rope last particle to my ragdoll leg.
How is it possible? After I attached to the leg I just keep the rest of the code. So add invMass to 10 and just change the length currLen--

I tried that with a fixed joint but with no luck. The fixed joint not stable at all.

Thanks
Reply


Messages In This Thread
RE: Extend a rope when the attached object shot from a position - by lacasrac - 25-09-2022, 07:49 AM