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.
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*.Getcomponent().isKinematic = true;*
and make it false after small amount of time it will stop the ball