(This project is still in work)
npm i N/A
N/A
(Table of Contents goes here)
A body is an entity which physically partakes with the engine.
- x
f64
- x position - y
f64
- y position
A component declaring an objects position
- x
f64
- x velocity - y
f64
- y velocity
A component declaring an objects velocity. Objects without the Velocity component are static. To move, objects also require the Position component
- x
f64
- x acceleration - y
f64
- y acceleration
A component declaring an objects acceleration. To change speed, objects also require the Velocity component.
- angle
f64
- rotation of the body along its' center
A component declaring an objects rotation. Objects will rotate along their center point.
src - project source src_matter_js - matter-js source, analysed for rewrite