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
Artex_112
(Artex_112)
December 20, 2023, 12:30pm
#2
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
740k
(740k)
December 20, 2023, 3:21pm
#4
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
system
(system)
Closed
January 3, 2024, 4:58pm
#7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.