How to stop all force from body velocity

How do you script a moving body to stop all forces/velocity from things like bodyVelocity previously affecting it?

4 Likes

Cant you just Anchor the HumanoidRootPart to freeze the Character?

2 Likes

Yeah thats what I did before, but anchoring only pauses the force and resumes after

1 Like

you can anchor and then nil out all the forces most can be done by setting it to Vector3.new()

1 Like

I have a situation where the bodyforces are applied and already removed. the velocity of the character stays even after its removed. Since they are removed I cant change their vector3 values.

your destroying them?
and are you disabling them first?

1 Like

destroy all bodymovers in the HumanoidRootPart
then
HumanoidRootPart.AssemblyLinearVelocity = Vector3.zero

image

2 Likes

Set the MaxVelocity of the bodymover to 0, 0, 0

BodyMover.MaxVelocity = Vector3.new(0, 0, 0)

Then change it back to a higher velocity when you want it to affect the part again.

Edit: Sorry didn’t read the replies

1 Like

Use humanoidRootPart.AssemblyLinearVelocity = Vector3.zero after setting the body velocity to zero as well.

3 Likes