Skip to content
Back to skills

Rust Bevy Collision Broadphase

ASecurity

Design and review Bevy 2D collision broadphase systems with AABB bounds, spatial indexes, typed collision events, and benchmark-driven test beds. Use when replacing O(n^2) collision checks, adding spatial partitioning, diagnosing Bevy collision performance, or separating broadphase, narrowphase, and response systems in Rust games.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 12, 2026
ai-agentsrustgogitperformance

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add thedixitjain/the-mega-skill-library --skill rust-bevy-collision-broadphase --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rust Bevy Collision Broadphase?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rust Bevy Collision Broadphase
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thedixitjain-rust-bevy-collision-broadphase/badge)](https://www.skillsdirectory.com/skills/thedixitjain-rust-bevy-collision-broadphase)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rust-bevy-collision-broadphase
description: "Design and review Bevy 2D collision broadphase systems with AABB bounds, spatial indexes, typed collision events, and benchmark-driven test beds. Use when replacing O(n^2) collision checks, adding spatial partitioning, diagnosing Bevy collision performance, or separating broadphase, narrowphase, and response systems in Rust games."
category: engineering-core
source_repo: hashgraph-online/awesome-codex-plugins
source_path: "plugins/LVTD-LLC/skills/skills/rust-bevy-collision-broadphase/SKILL.md"
source_url: https://github.com/hashgraph-online/awesome-codex-plugins/blob/HEAD/plugins/LVTD-LLC/skills/skills/rust-bevy-collision-broadphase/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

| Task | Load |
|------|------|
| Pick or review a broadphase | `guidelines.md`, `references/broadphase-patterns.md` |
| Optimize an existing collision system | `workflows/optimize-collision.md` |
| Route a specific symptom | `guidelines.md` |

## Source Notes

Guidance is transformed and paraphrased from Herbert Wolverson,
*Advanced Hands-On Rust*, especially Chapter 8 on obstacles and collision
detection and Chapter 12 on optimization. The examples are original skeletons
intended to preserve the transferable technique, not the book's project code.

---

**Source:** [`hashgraph-online/awesome-codex-plugins`](https://github.com/hashgraph-online/awesome-codex-plugins) → `plugins/LVTD-LLC/skills/skills/rust-bevy-collision-broadphase/SKILL.md`

Files in this skill

  • SKILL.md2.2 KB
  • agents/openai.yaml245 B
  • guidelines.md1.5 KB
  • references/broadphase-patterns.md2.8 KB
  • workflows/optimize-collision.md2.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.