RotateAngle_Toward


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

Syntax

C++
Python
 
def RotateAngle_Toward(
	inAngle: float,
	inTargetAngle: float,
	inRotationAngle: float,
	/,
	*,
	inAngleRange: AngleRange = AngleRange._0_180,
	inInverse: bool = False
)
-> outAngle: float

Parameters

Name Type Default Description
Input value inAngle float
Input value inTargetAngle float
Input value inAngleRange AngleRange AngleRange._0_180
Input value inRotationAngle float
Input value inInverse bool False
Output value outAngle float