public bool freezeRotation ;

Descripción

Controla si la física cambiará la rotación del objeto.

If freezeRotation is enabled, the rotation in Z is not modified by the physics simulation.

See Also: Rigidbody2D.constraints.