文档

Unity Engine

Unity Engine

GetTranslationIgnoredAxes(TransformPlane)

Get the ignored translation axes, given the specified transform plane. This is the inverse of PhysicsMath.GetTranslationAxes.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Parameters

transformPlane

The transform plane to use.

Returns

Type

Description

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