跳到主要内容

Class AngleUtility

Methods

static float GetStandardAngle(float angle)

public static float GetStandardAngle(float angle)

static float AngleDirection(float angle, float targetAngle)

public static float AngleDirection(float angle, float targetAngle)

static float DeltaAngle(float angle, float targetAngle)

public static float DeltaAngle(float angle, float targetAngle)

static float FullAngleToSignedAngle(float fullAngle)

public static float FullAngleToSignedAngle(float fullAngle)

static float SignedAngleToFullAngle(float signedAngle)

public static float SignedAngleToFullAngle(float signedAngle)

static Quaternion SmoothDamp(Quaternion current, Quaternion target, float currentVelocity, float smoothTime)

public static Quaternion SmoothDamp(Quaternion current, Quaternion target, float currentVelocity, float smoothTime)