Best way to disable freefall

I want to stop freefall without using SetStateEnabled. When freefall is disabled, the player would be unable to move when falling.

This is what happens when freefall is disabled:


I couldn’t find a better way to stop freefall without disabling it.

2 Likes

Are the legs noncollidable? Because it looks like that’s your problem

No, the legs are collidable. I didn’t change anything inside the character.

Then I don’t know the problem, sorry I’m still new :sweat_smile:

It happens when I jump with Freefalling set to false.

Then you need a scripted not me :sweat_smile:

Do you want AutoRotate to off when freefalling?

I just want to disable freefall without actually disabling it.

You mean like Obby But You Have A Long Arm did?

Enable freefalling when not freefalling.

I don’t think that’s what he wants…

Yes, that is what I want. But I don’t know how they did it.

You could have a script that overrides the default falling animation

But that still wouldn’t work. Freefall makes the character slide.

What do you mean slide? Like with sit set to true?

What I think you have to do is:
Check if the arm of the player is touching a part from the upper side, if no, then di nothing, if yes, then free fall equals false, so that the player can jump, that’s just a rough sketch, but that’s what I think you need


The player slides off.

Like this, he explained it in another topic: Sliding effect on Freefall

If I disable freefall, the player would be unable to move.

Can you disable free fall but enable the walking state?