ドキュメント

Unity Engine

Unity Engine

FromShape(PhysicsShape, Vector2)

Create a CastShapeInput the specified world shape. The geometry will automatically be translated into world-space.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static PhysicsQuery.CastShapeInput FromShape(PhysicsShape shape, Vector2 translation)

Parameters

The shape to use.

translation

The cast translation to use.

Returns

Type

Description

CastShapeInput