bevy-physics-2d
Installation
SKILL.md
Bevy 2D physics
When to use
Load this when a Bevy app needs simulated 2D bodies, triggers, or layer filtering before choosing a solver. Pair with bevy-character-movement for player motion that should not be a rigid body. Pair with bevy-spatial-queries for casts that also wait on a solver.
ECS shape
- Components own velocity, mass, a circle radius, and a layer mask for props you simulate yourself.
- Resources own gravity.
- Systems integrate on
FixedUpdate, then separate overlapping circles..chain()runs separation after the step. - Schedule: the fixed step is the clock. A solver plugin can replace the integrator when you need joints and a spatial index. This file does not name that plugin's types. Player locomotion stays on bevy-character-movement.