Make the CharacterController grab edges/climb mountains
Posted: Wed Oct 15, 2014 2:46 pm
Hi, Norbo! My game is finally growing up! And much thanks to you.
So now I've got a question about the CharacterController. I implemented and changed it so it can jump while crouching, and other little things just by the variables.
But reading and understanding all those math and physics calculations made me confuse, it's too difficult for me for now.
So I can see it can step up or down while walking and detecting the height of the step (with the StepManager). And it's great!
But how would I calculate it so it could grab marked walls, as if they were cracks on the mountain, and hold there until the player releases a button?
And how can detect that the CharacterControler jumped at least half higher than a block and that it can automatically grab and "step up" on it, "à la" "Tomb Raider"?
I'd have to make another class with similar functions of the StepManager. But I don't know where to start from, if you can give me any tip it would help a lot. Thank you!

So now I've got a question about the CharacterController. I implemented and changed it so it can jump while crouching, and other little things just by the variables.
But reading and understanding all those math and physics calculations made me confuse, it's too difficult for me for now.

So I can see it can step up or down while walking and detecting the height of the step (with the StepManager). And it's great!

But how would I calculate it so it could grab marked walls, as if they were cracks on the mountain, and hold there until the player releases a button?

And how can detect that the CharacterControler jumped at least half higher than a block and that it can automatically grab and "step up" on it, "à la" "Tomb Raider"?

I'd have to make another class with similar functions of the StepManager. But I don't know where to start from, if you can give me any tip it would help a lot. Thank you!