기술 자료

Unity Engine

Unity Engine

ShapeDistance(DistanceInput)

Calculate the distance and closest points between two shape proxies.
읽는 시간 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.