So in my game you are a ball that rolls about, when pressing 'P' it re-spawns your ball but the problem i'm having is the velocity is carrying over, how do i remove all velocity?
Any help is appreciated!
So in my game you are a ball that rolls about, when pressing 'P' it re-spawns your ball but the problem i'm having is the velocity is carrying over, how do i remove all velocity?
Any help is appreciated!
Set the part's velocity to 0.
PART.Velocity = Vector3.new(0,0,0)
If you want it to stop rolling then
PART.RotVelocity = Vector3.new(0,0,0)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
That was the problem, Rotation velocity, Never thought of that thank you!