Version: 2017.2

Rigidbody2D.freezeRotation

Switch to Manual
public bool freezeRotation ;

Description

Контролирует будет ли физика изменять вращение объекта.

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

See Also: Rigidbody2D.constraints.