Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Seiryu33 on March 25, 2020, 02:27:01 AM

Title: Swinging on vines
Post by: Seiryu33 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.
Title: Re: Swinging on vines
Post by: djaydino 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 :

(https://i.imgur.com/ZRtdceD.gif)
Title: Re: Swinging on vines
Post by: Seiryu33 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.
Title: Re: Swinging on vines
Post by: djaydino 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