bitECS-physics
Matter.JS rewritten physics engine for bitECS
(This project is still in work)
npm i N/A
Getting Started
N/A
Documentation
(Table of Contents goes here)
Bodies
A body is an entity which physically partakes with the engine.
Pos
Component - x
f64
- x position - y
f64
- y position
A component declaring an objects position
Vel
Component - 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
Acc
Component - x
f64
- x acceleration - y
f64
- y acceleration
A component declaring an objects acceleration. To change speed, objects also require the Velocity component.
Rotation
Component - angle
f64
- rotation of the body along its' center
A component declaring an objects rotation. Objects will rotate along their center point.
In Work
src - project source src_matter_js - matter-js source, analysed for rewrite