文档

Unity Engine

Unity Engine

CastShapes(CastShapePairInput)

Cast two shape proxies against each other. Initially touching shapes are treated as a miss. You should check for overlap first if initial overlap is required.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static PhysicsQuery.CastResult CastShapes(PhysicsQuery.CastShapePairInput castShapePairInput)

Parameters

castShapePairInput

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

Returns

Type

Description

CastResultThe cast result.