1.0 KiB
1.0 KiB
Planck.js API Doc › Globals › WorldManifold
Class: WorldManifold
This is used to compute the current state of a contact manifold.
Hierarchy
- WorldManifold
Index
Properties
Properties
normal
• normal: Vec2
Defined in src/collision/Manifold.ts:235
World vector pointing from A to B
points
• points: Vec2[] = []
Defined in src/collision/Manifold.ts:239
World contact point (point of intersection)
separations
• separations: number[] = []
Defined in src/collision/Manifold.ts:243
A negative value indicates overlap, in meters