기술 자료

Unity Engine

Unity Engine

GetRotationAxes(TransformPlane)

Get the used rotation axes, given the specified transform plane. This is the inverse of PhysicsMath.GetRotationIgnoredAxes.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static Vector3 GetRotationAxes(PhysicsWorld.TransformPlane transformPlane = TransformPlane.XY)

Parameters

transformPlane

The transform plane to use.

Returns

Type

Description

Vector3The used rotation axes. 0 indicates an axis is ignored whereas 1 indicates the axis is used.