playMaker

Author Topic: Swinging on vines  (Read 1108 times)

Seiryu33

  • Full Member
  • ***
  • Posts: 133
Swinging on vines
« on: March 25, 2020, 02:27:01 AM »
Hey! So apparently this is one that hasn't been discussed. Like I know how to make characters climb ladders and such but how do you go about making characters swing on vines, ropes, etc? Figuring out vertical physics is tough enough but I haven't found any tutorial about grabbing and climbing moving objects.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Swinging on vines
« Reply #1 on: March 25, 2020, 12:43:12 PM »
Hi.
On ladders we use 0 gravity which gives you less issues on vertical physics.
on a rope, a good way would probably be to use some parenting.

but that's only the 1st step.

Here i a quick sample of what i mean, player is parented on rope and when i move rope it will move with the rope :


Seiryu33

  • Full Member
  • ***
  • Posts: 133
Re: Swinging on vines
« Reply #2 on: March 26, 2020, 12:10:28 AM »
That's useful but I should've clarified I meant more like Indiana Jones, using a whip or such to grab onto objects and swing. A little more complex than simply climbing.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Swinging on vines
« Reply #3 on: March 26, 2020, 12:44:25 AM »
Hi.
Oh you mean like a grappling hook.

Have a look at this post :

https://hutonggames.com/playmakerforum/index.php?topic=19702.0

I think the videos there can get you in the right direction