Character Upward Movement

Hey there!

So far I got alot of working for my character movement behaviour. But now I wanna make the character float, not jump, but as I found out, every Movement Input in Z direction is completely ignored when in Walking Mode.
I tried switching to Fly Mode then, but then my whole movement code doesn’t work at all, I just get stuck and can’t move anymore.

So, is there a way to enable movement in z-direction? I also tried using a custom mode, but it’s the same as the fly mode.

Another, not that important question: How can I rotate my model so that the “feet” are on a contact point and my model is tilted in the direction of the normal? Important is, that the direction the model is looking is not changed (uphill or downhill doesn’t matter).

Thanks for any help, I hope I’m just missing a simple thing to solve this! :slight_smile:

Hi Teflo,

There are a few different ways to handle this - the easiest way would be to simply disable gravity on the character and use your input keys to add a local offset to the character. So for example, when on Floating state, your W key would call a custom event that adds a local Z offset to the character.

Hope this helps!