Question by
tamimcanada · Apr 01, 2016 at 06:01 PM ·
rotationphysicsfriction
How to make a sphere stop moving?
So I am trying to create a billiards type of game. However my main problem is that im unable to make my balls stop moving once they hit each other (they keep moving infinitely). I tried messing with the friction on physics material and added that to both the table, and then just the balls, and then to both. However that ended in failure as well. Any help would be great.
Comment
Best Answer
Answer by JigneshKoradiya · Apr 09, 2016 at 09:55 AM
store all ball in one list or array
when you want to stop all the ball you have to call this method in loop
ballarray[i].Getcomponent().isKinematic = true;
and make it false after small amount of time it will stop the ball
Your answer
![](https://koobas.hobune.stream/wayback/20220612074012im_/https://answers.unity.com/themes/thub/images/avi.jpg)