文档

Unity Engine

Unity Engine

ShapeAndShape(PhysicsShape, PhysicsTransform, PhysicsShape, PhysicsTransform)

Check the intersection between two shapes ( PhysicsShape ).
阅读时间1 分钟最后更新于 1 个月前

Definition

public static PhysicsShape.ContactManifold ShapeAndShape(PhysicsShape shapeA, PhysicsTransform transformA, PhysicsShape shapeB, PhysicsTransform transformB)

Parameters

The first shape to use.

The transform used to specify where the first geometry is positioned.

The second shape to use.

The transform used to specify where the second geometry is positioned.

Returns

Type

Description

ContactManifoldThe contact manifold fully detailing the intersection.