Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

is there a way to make a ball gradually stop?

Asked by 6 years ago

Hi, I just wanted to know if there is a way to script ball inertia(make the ball gradually stop to a halt) I tried doing this but it doesn't seem to work.

    Tool.Handle.Velocity = v * 10
    for i = 1, 30 do
    Tool.Handle.Velocity = Tool.Handle.Velocity - Vector3.new(0.1, 0.1, 0.1)
    wait(.3)
    end
    Tool.Handle:Remove()

So the handle is a simple ball, I wanted to make it so that once the ball was thrown, it's velocity would slowly decrease until it's not moving horizontally anymore. Usually the ball would just keep rolling forever if it never hits anything.

0
Maybe try using forces? H4X0MSYT 536 — 6y

Answer this question