Disable left/right movement when jumping?

AlexRockey

  • Posts: 17
I have the Jumping  behaviour and want to prevent the player from controlling their direction when up in the air, making it more realistic.

Already tried some events of my own, but had no effect.
Also,  is the On Ground behaviour suppose to come with its own blocks?

« Last Edit: January 02, 2021, 12:44:06 pm by AlexRockey »

Mee123

  • Posts: 36
I would suggest directly modifying the Jumping code itself.
But for a more clear answer, would you mind sending a picture of the Jumping behavior?
Also, the On ground behavior I found on Stencylforge havve no custom block, but you are able to access the attribute "Hit Ground" by using the "Get attribute" block under 'Behaviors > Attributes'.