I noticed there’s a flying state, i tried to set it but the character immedietaly unsets it, is there any way to keep the flying state?
i also tried to loop set the state but it doesn’t work
I noticed there’s a flying state, i tried to set it but the character immedietaly unsets it, is there any way to keep the flying state?
i also tried to loop set the state but it doesn’t work
The flying state is (I believe) triggered when the player is going up on the Y axis, but if he goes down the Y axis, the Freefalling state will be automatically triggered.
A solution you could use is try to temporarily disable the Freefall state.
humanoid:ChangeState(Enum.HumanoidStateType.Freefall, false)
the humanoid flying state will stop as soon as the player touches the ground
https://developer.roblox.com/en-us/api-reference/enum/HumanoidStateType
i my self use the physics state when making my character fly
this is how i make my character fly with the physics state