ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


TestOverlapShapeProxy(ShapeProxy, QueryFilter)

Test if the provided shape proxy overlaps any shapes.
読み終わるまでの所要時間 1 分最終更新 24日前

Definition

public bool TestOverlapShapeProxy(PhysicsShape.ShapeProxy shapeProxy, PhysicsQuery.QueryFilter filter)

Parameters

shapeProxy

The shape proxy to use. This must be in world-space.

The filter to control the result returned.

Returns

Type

Description

boolIf the query overlaps anything.