physics_engine.js
Mission 01: Vector State
Physics engines use vectors `(x, y)` for direction and magnitude. Initialize the gravity vector to point purely downwards `(0, 9.8)`, and set the restitution (bounciness) to `0.85`.
const engineState = {
gravity: Vector(,),
restitution:,
mass: 50
};
Live Chamber Preview