- Home /
How to stop out of control rotation after collision
Greetings, I am in the midst of making a curling game that has a stone (Capsule Collider) that is launched from a "player". My issue is that when the stone hits a wall at any type of angle, it begins rotating about the y-axis (as it should) but continues to for a ridiculous amount of time. I can't simply freeze rotation as I will eventually utilize rotation to make the stone curl. Is there any way of controlling this rotation? Thanks!
Comment
Answer by Nazirzadeh · Feb 14, 2018 at 11:56 PM
You can have control with rigidbody.angularVelocity
rigidbody.angularVelocity = Vector3.zero;
Answer by pwilki14 · Feb 14, 2018 at 11:58 PM
I am the square root of an idiot for posting this, thanks for the fast response anyways.
Your answer
![](https://koobas.hobune.stream/wayback/20220612152643im_/https://answers.unity.com/themes/thub/images/avi.jpg)