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

1.0 KiB
Raw Permalink Blame History

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