PhysicsFiltering Interactions

Demonstrates all three interaction types via InteractionFilter bitmasks: collision (boxes bounce off each other), sensor (circles detect overlaps without physics response), and fluid (pentagons experience buoyancy). Click to spawn more shapes.

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

Engine features used

InteractionFilterSensorFluidGroupsBitmask

Related guides

More demos

All Physics demos →