Merged
Conversation
Introduces a general-purpose force/torque system for the physics engine. External code (gameplay, wind, thrusters) can now apply forces through ExternalForce components instead of directly mutating Velocity. - Add ExternalForce component with force, torque, and persistent flag - Add apply_external_forces step in physics_step_single between gravity and integration - One-shot forces auto-clear; persistent forces remain until manually zeroed - Forces on sleeping bodies wake them automatically - 7 new unit tests covering all force/torque behaviors Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Deploying euca-engine with
|
| Latest commit: |
7b2acb9
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c028ebbe.euca-engine.pages.dev |
| Branch Preview URL: | https://worktree-agent-a6695656.euca-engine.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ExternalForcecomponent withforce: Vec3,torque: Vec3, andpersistent: boolfieldsapply_external_forcesstep inphysics_step_singlebetween gravity and integrationTest plan
cargo check --workspacecleancargo clippy --workspace -- -D warningsclean🤖 Generated with Claude Code