Vibe Coding Encyclopedia

2D physics with Box2D and Planck

Box2D's JS plate planck is calculated by turning the steel, friction, joints, and sensors into fixed time intervals (0.02 seconds) — the same set value always causes the same movement.

Category
Physics simulation

Technical terms · Box2D (planck.js) · Fixed timestep with accumulator · RevoluteJoint · sensor fixture · Velocity / position iterations (8 / 3)

Related techniques

Technique document (Korean)