2021-05-11 18:30:36 -07:00

1.6 KiB
Raw Permalink Blame History

Planck.js API Doc › Globals › ContactFeature

Class: ContactFeature

The features that intersect to form the contact point.

Hierarchy

  • ContactFeature

Index

Properties

Methods

Properties

indexA

• indexA: number

Defined in src/collision/Manifold.ts:207

Feature index on shapeA


indexB

• indexB: number

Defined in src/collision/Manifold.ts:211

Feature index on shapeB


typeA

• typeA: ContactFeatureType

Defined in src/collision/Manifold.ts:215

The feature type on shapeA


typeB

• typeB: ContactFeatureType

Defined in src/collision/Manifold.ts:219

The feature type on shapeB

Methods

set

▸ set(o: ContactFeature): void

Defined in src/collision/Manifold.ts:220

Parameters:

Name Type
o ContactFeature

Returns: void