27-05-2025, 03:11 PM
(27-05-2025, 08:39 AM)josemendez Wrote: Both of the sample scenes I mentioned attach the player dynamically (that is, at runtime without any pre-existing attachments created in-editor). In particular, the VineSwinging example dynamically attaches the player to *any* part of the rope. You can take a look at the source code for both:
- Obi/Samples/RopeAndRod/SampleResources/Scripts/ExtendableGrapplingHook.cs
- Obi/Samples/RopeAndRod/SampleResources/Scripts/VineClimbController.cs
Make sure the character is not colliding against the rope when attached to it. This will lead to jittery/jumpy attachments as explained in the manual (since it is not physically possible for the rope to be simultaneously attached inside a collider and be outside the collider):
https://obi.virtualmethodstudio.com/manu...ments.html
kind regards
I'll check, thanks again!