How to make ball rolling to a shorter distance/smoothly stop it

How can i make to ball rolled to a shorter distance/smoothly stop ball

Here what i have:


What i want:

I tried to do AssemblyLinearVelocity 0,0,0 but how i can tween it
Also i tried set velocity to 0 but i can’t tween it

Thanks for help
Sry for my english

2 Likes

Unless you want something very specifing you can try changing Physical properities of the ball. There is a friction value which you could increase.

1 Like

It didn’t affect to ball i played with friction and friction weight but nothing changed

Did you set the friction and weight values in a serverscript?

1 Like

I set it in explorer in studio for test nothing changed

1 Like

Okay i solved it, i used this script that i found in devforum:

for i = 1,5 do
ball.AssemblyLinearVelocity = 0.6 * ball.AssemblyLinearVelocity
ball.AssemblyAngularVelocity = 0.6 * ball.AssemblyAngularVelocity
task.wait(0.01)
end
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.