UI はローカライズ済みです。スキルの紹介と説明文書は選択した言語へ AI が自動翻訳し、コード・コマンド・パス・専門用語は原文のままです。原作者の文書が優先されます。
スキルを探す
デザイン · 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

スキルの説明

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.

保存したスキル