Hey guys, my character keeps falling after rolling with bodyvelocity, when it rolls against something welded or anchored.
I tried switching to VectorForce but ithe speed wasnt constant. If i was on the ground it’d go slower than when i was mid air. I also tried LineForce but that didnt even start,
You can disable falling over easily through a humanoid.
-- Code for stopping a humanoid from falling over.
local stateType = Enum.HumanoidStateType
local character = script.Parent
local humanoid = character:WaitForChild("Humanoid")
humanoid:SetStateEnabled(stateType.FallingDown, false)
humanoid:SetStateEnabled(stateType.Ragdoll, false)
That way it doesn’t flop, be aware though if you use too high a body force it will send your character flying