1.6 KiB
1.6 KiB
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