fix(physics): var RigidBody param for rigid integrate + composable smoke#68
Closed
cap-jmk-real wants to merge 8 commits into
Closed
fix(physics): var RigidBody param for rigid integrate + composable smoke#68cap-jmk-real wants to merge 8 commits into
cap-jmk-real wants to merge 8 commits into
Conversation
rigid_integrate_semi_implicit mutates the body in place; use b: var RigidBody so borrowck does not mark caller locals moved. Composable import_physics_runtime runs one gravity substep after version check.
Pass holder.body to rigid_integrate_semi_implicit so borrowck does not mark a local RigidBody moved (check_call_moves only tracks Ident args).
Use physics.runtime package API without referencing imported object types in the fixture (RigidBody-local integrate blocked in composable build).
CI shows composable compile_ok fails when fixtures use imported object types or physics_world_* calls; keep import_physics_runtime as rigid version smoke until compiler/import surface is fixed.
Contributor
Author
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
rigid_integrate_semi_implicitmutates its body in place viab: var RigidBody; composableimport_physics_runtime.liruns one semi-implicit gravity step after import.Agent continuation
packages/li-physics-rigid/src/lib.liandli-tests/composable/import_physics_runtime.li.checkafter merge.physics.runtime/physics_stepifPhysicsWorldneedsvar worldparams.li-physics-*org mirrors (lic [Ecosystem gap] Publish li-std-physics-* org mirrors (12 packages) #50).Breaking
N/A
Release note:
docs/release-notes/2026-05-19-rigid-var-param-composable.md