Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Swinging on rope
#5
(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!
Reply


Messages In This Thread
Swinging on rope - by quent_1982 - 26-05-2025, 05:24 PM
RE: Swinging on rope - by josemendez - 26-05-2025, 07:41 PM
RE: Swinging on rope - by quent_1982 - 27-05-2025, 08:34 AM
RE: Swinging on rope - by josemendez - 27-05-2025, 08:39 AM
RE: Swinging on rope - by quent_1982 - 27-05-2025, 03:11 PM