Stop a ball(GameObject) from rotating(bowling game)

Hi,

I am making a little bowling game. When I reset the bowlingball’s position. The ball still rotates. I know I can use rigidbody.velocity = Vector3.zero; to make it stop moving. So I guess there should be a stop rotating one aswell.

Cheers

Use:

rigidbody.angularVelocity = new Vector3(0.0f, 0.0f, 0.0f);

to set a rigidbody’s rotational velocity to zero.

Yes, there is. It’s called angularVelocity:

rigidbody.angularVelocity = Vector3.zero;

It is very much necessary to stop rotating the bowling ball. go bowling alley