ドキュメント

Unity Engine

Unity Engine

ShapeDistance(DistanceInput)

Calculate the distance and closest points between two shape proxies.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static PhysicsQuery.DistanceResult ShapeDistance(PhysicsQuery.DistanceInput distanceInput)

Parameters

distanceInput

The input describing the shape proxies and how they should move.

Returns

Type

Description

DistanceResultThe distance result.