Gets or sets the Baltie's orientation angle.

Namespace:  SGP.Baltie
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public void TurnToDirection(
	float direction
)

Parameters

direction
Type: System..::.Single
Baltie's orientation angle in degrees.

Remarks

Baltie's orientation in the XZ (horizontal) plane in degrees. 0 means direction in the +Z axis, +90 direction in the +X axis. Baltie can be oriented to any direction, but he can only move in the multiples of 45 degrees. The orientation is normalized, that means it alway lies in the interval of (-180, +180> degrees.

See Also