- Home /
Climbing a block in 2d
Hi all, I'm stuck with this problem. I'm making something like a 2d platform game but in which some AI characters could be able to climb blocks like this. (the left one). And also the block and the floor where both are (the block and the character) could be moving, so I guess I cannot just translate my character to that position.
So I already have the trigger to start climbing, but I cannot figure out how to make my character climb a fixed height. I'm now trying coroutines without success.
Any idea how to do this? Thanks in advance!
You say this is 2D but the block and the last two examples are 3D.
Well, I mean the left one. Sorry I did't make this gif, it is just to clarify what I want.
Take a look at these tutorials
Your answer
Follow this Question
Related Questions
Can you run a coroutine more often than Update? 1 Answer
2d-platformer climb 2 Answers
Help with waiting for input? I'm too used to how Console.ReadLine() works. 0 Answers
Return value from coroutine to non monobehaviour 1 Answer
[HELP] How to make camera smooth change position while follow object? 1 Answer