rust-bevy-collision-broadphase

Installation
SKILL.md

Rust Bevy Collision Broadphase

Use this skill to make Bevy collision detection scale without mixing detection, response, rendering, and gameplay rules into one system.

Core Workflow

  1. Identify the collision shapes, movement model, entity counts, and layers.
  2. Keep collider data small and independent from sprites, textures, and game rules.
  3. Choose the cheapest broadphase that fits the scene: brute force for tiny counts, spatial hash for uniform worlds, quad tree for clustered worlds.
  4. Emit candidate or collision events; let separate systems decide response.
  5. Test edge contacts, fast movement, layer filters, despawn cases, and deterministic ordering.
  6. Benchmark before and after changing the broadphase.

Read Next

Installs
27
Repository
lvtd-llc/skills
GitHub Stars
1
First Seen
Jun 29, 2026
rust-bevy-collision-broadphase — lvtd-llc/skills