LinearVelocity rotation & momentum stopping

ive got two problems ive spent a while trying to figure out the answer to and cant find anything that works online. my first problem is when using a LinearVelocity to move the player the player starts rotating (, im not sure why it happens and havent found any solutions. my second problem is im not sure how to stop the players momentum from a linearvelocity ( ive tried anchoring the humaniod root part, setting the players parts to massless, setting the root part linear velocity to 0 , changing player state and none of it seems to work.

heres how im using the linear velocity:

            local num = 0 - dashP.Value
            velocity.VectorVelocity =,0,0)
            dashP.Value -= previousDA / 10

        until dashP.Value <= 0
        velocity.VectorVelocity =,0,0)
        velocity.Enabled = false

its just a loop setting the velocity to something that can go from 1 to infinite using some equation but so far the most has ever been 1 billion before the equation which the amount doesnt seem to do much for it. the loop sets it high and then repeats decreasing it to slow the player down until it becomes 0 and the player stops completely and the velocity is completely stopped.

1 Like

Linear velocity vectormode applies velocity constraint to a the attachment point only which can cause rotation.

Preferably use Planemode or line mode instead:


thank you, this does solve my first issue about the player rotating.

1 Like