Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ChainSegmentAndCapsule(ChainSegmentGeometry, PhysicsTransform, CapsuleGeometry, PhysicsTransform)

Check the intersection between ChainSegment and Capsule geometries.
Read time 1 minuteLast updated 12 days ago

Definition

public static PhysicsShape.ContactManifold ChainSegmentAndCapsule(ChainSegmentGeometry geometryA, PhysicsTransform transformA, CapsuleGeometry geometryB, PhysicsTransform transformB)

Parameters

The first geometry to use.

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

The second geometry to use.

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

Returns

Type

Description

ContactManifoldThe contact manifold fully detailing the intersection.