I am working on a prototype and I want a failproof climbing system.
Here is the scenerio,
I have a human character and a Platform hanging in air. I have the walking and climbing animations and I got it working. When I press the shift key, My character climbs on the platform, but it looks good only If the key is pressed when the character is in the right position. I mean, I have a trigger collider at the right position, If the animations is played from the right position, It looks good, but If the user presses the key earlier, then my character climbs in air.
What I want to do is, When the player is not in the right position but pressed the Shift key, Then the character will play “Walk” animation until it reaches the trigger collider position and then play the “Climb” animation. So it looks good even if the user pressed the key at earlier postion. How can I do that?
Sorry for my language, I am new here.
