How do you script a moving body to stop all forces/velocity from things like bodyVelocity previously affecting it?
Cant you just Anchor the HumanoidRootPart
to freeze the Character?
Yeah thats what I did before, but anchoring only pauses the force and resumes after
you can anchor and then nil out all the forces most can be done by setting it to Vector3.new()
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?
destroy all bodymovers in the HumanoidRootPart
then
HumanoidRootPart.AssemblyLinearVelocity = Vector3.zero
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
Use humanoidRootPart.AssemblyLinearVelocity = Vector3.zero
after setting the body velocity to zero as well.