L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Design et création · SKILL.md

rust-bevy-fixed-step-physics

rust-bevy-fixed-step-physics

Design and review Bevy fixed-step 2D physics loops with velocity components, deterministic movement, collision prediction, interpolation, impulses, and tweened presentation. Use when movement depends on frame rate, collision misses appear at high speed, physics and animation are tangled, or Bevy gameplay needs stable simulation steps.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: rust-bevy-fixed-step-physics description: Design and review Bevy fixed-step 2D physics loops with velocity components, deterministic movement, collision prediction, interpolation, impulses, and tweened presentation. Use when movement depends on frame rate, collision misses appear at high speed, physics and animation are tangled, or Bevy gameplay needs stable simulation steps. license: MIT compatibility: Codex, Claude Code, and other Agent Skills-compatible clients. metadata: version: "0.1.0" displayName: Rust Bevy Fixed Step Physics category: Rust tags: rust,bevy,gamedev,physics,simulation

Rust Bevy Fixed Step Physics

Use this skill to separate deterministic simulation from frame-rate-dependent presentation in Bevy games.

Core Workflow

  1. Identify which movement must be deterministic and collision-safe.
  2. Sample input in update systems, then apply movement in fixed-step systems.
  3. Store velocity, acceleration, and intent explicitly in components/resources.
  4. Predict or sweep movement before committing positions.
  5. Emit physics/collision events; keep animation and particles as presentation.
  6. Interpolate or tween visuals when fixed simulation looks choppy.

Read Next

TaskLoad
Fix frame-rate-dependent movementguidelines.md, workflows/stabilize-physics.md
Add fixed movement and collision predictionreferences/fixed-step-patterns.md
Separate animation from physicsreferences/fixed-step-patterns.md

Source Notes

Guidance is transformed and paraphrased from Herbert Wolverson, Advanced Hands-On Rust, especially Chapters 7 through 9 on movement, collision, and smoothing. Examples are original skeletons.

Skills enregistrées