Rigidbody2DSynchronizableSetRotation Method

Sets the rotation of the Rigidbody2D to angle (given in degrees).

Definition

Namespace: Alteruna
Assembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
C#
public void SetRotation(
	float angle
)

Parameters

angle  Single
The rotation of the Rigidbody (in degrees).

See Also