You are here: Start » AVL.NET » AVS.RotateAngle_Toward Method

AVS.RotateAngle_Toward Method

Changes the input direction in the direction of minimum rotation toward the target direction.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void RotateAngle_Toward
(
	float inAngle,
	float inTargetAngle,
	AvlNet.AngleRange inAngleRange,
	float inRotationAngle,
	bool inInverse,
	out float outAngle
)

Parameters

Name Type Range Default Description
inAnglefloat
inTargetAnglefloat
inAngleRangeAvlNet.AngleRange_0_180Default value: _0_180.
inRotationAnglefloat
inInversebool
outAnglefloat

See also