How do I modify friction to make a Spinning Circle stop at a specific angle?
I am creating a Spinning Wheel game in Javascript. When a button is clicked, a random velocity is set. When the stop-button is clicked, a friction is applied to the velocity. When fricition is activated, every frame this happens:
Javascript: How do I find the right friction to make a Spinning Circle stop at a specific angle?
I am creating a Spinning Wheel game in Javascript. When the wheel starts spinning, a random velocity is applied to the fortunes. When the stop-button is clicked, a friction is applied to the velocity. When fricition is activated, every frame this happens: