Answer by lilKriT for Ledge climb animation and movement (2d platformer)
In my opinion, the "best" way would be to: When you detect climbing is possible, temporarily lock the player's position. Use the animation with root motion and lock the controls. When the animation is...
View ArticleAnswer by Brian H. for Ledge climb animation and movement (2d platformer)
i believe you need more design choices here before you can make a proper decission, specifically, what can happen to the character while he is hanging/climbing? since you said the game is physics based...
View ArticleAnswer by Peter Morris for Ledge climb animation and movement (2d platformer)
If the player is pressed against a climbable object then allow up/down to move it on the Y axis. During this state ensure it cannot move on the X axis. As you move you can call Animation.Sample on your...
View ArticleAnswer by joe shmoe for Ledge climb animation and movement (2d platformer)
you could just move the transform.y up n number of times until the feet are on the ledge and forget the physics temporarily, i think it will work fine, you can always measure the distance between...
View ArticleLedge climb animation and movement (2d platformer)
Struggling to make a decision on the implementation of a ledge climb mechanic for a physics driven 2d platformer. What is the best way to go about this without it getting overly complex? So far I...
View ArticleAnswer by Agent Tatsu for Ledge climb animation and movement (2d platformer)
Can the player freely move horizontally while they are midair (air control)? If so, I would simply apply an appropriate amount of vertical force to get the player's feet above the platform and let the...
View Article