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

AVL.RotateAngle_Toward

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
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
inRotationAnglefloat
inInversebool
outAnglefloat

See also