Class: Body
MatterJS. Body
The Matter.Body
module contains methods for creating and manipulating body models.
A Matter.Body
is a rigid body that can be simulated by a Matter.Engine
.
Factories for commonly used body configurations (such as rectangles, circles and other polygons) can be found in the module Matter.Bodies
.