기술 자료

Unity Engine

Unity Engine

GetRelativeAngle(PhysicsRotate)

Get the relative angle between this rotation and the specified rotation. The limits of this are +/- PhysicsMath.PI.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public readonly float GetRelativeAngle(PhysicsRotate rotation)

Parameters

The rotation to calculate the relative angle against.

Returns

Type

Description

floatThe relative angle, in radians.