Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Swinging on rope
#4
(27-05-2025, 08:34 AM)quent_1982 Wrote: Thanks for reply, but I need to dynamically attach my player to almost every part of the rope and all of Obi Examples does not seem too much helpful for my case.

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

(27-05-2025, 08:34 AM)quent_1982 Wrote: I've tried ObiParticleAttachment and it is too jumpy and have completely not good looking.

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
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