19-03-2024, 08:37 AM
(This post was last modified: 19-03-2024, 08:38 AM by josemendez.)
(17-03-2024, 07:48 AM)gnovos Wrote: I went through the ExtendableGrapplingHook example, but that is "climbing" by changing the length or the rope, which isn't quite what I'm looking for. I'm looking more for something that just moves a rigidbody steadily up a rope while maintaining the two-way forces between the two. I have a few ideas how I could accomplish this, but if there's already an example somewhere to save me a lot of trial and error, I would be very grateful.
Hi!
Unfortunately not, there are no samples of this. Other users have made similar stuff in the past, so someone may be willing to share their code?
The core idea is to create a pin constraint at runtime and update its position at runtime, moving it along the rope's elements. Conceptually it is quite simple, though it's math-heavy and coding it can be a bit of a steep learning curve if this is your first time using Obi.
kind regards