PhysicsBody From Graphic

Uses MarchingSquares to extract physics bodies from the cog bitmap. Three sizes, each processed independently. Drag any cog with the mouse.

Loading engine…
FPS: — Bodies: — Step: — Drag or tap the canvas to interact. Switch renderer with the 2D / 3D / PixiJS buttons.
GitHub

Engine features used

MarchingSquaresProcedural

Related guides

More demos

All Physics demos →