Skip to content

Comments

Fix transform updates sometimes being discarded when using Jolt#115364

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
mihe:jolt/limit-body-activation
Jan 26, 2026
Merged

Fix transform updates sometimes being discarded when using Jolt#115364
Repiteo merged 1 commit intogodotengine:masterfrom
mihe:jolt/limit-body-activation

Conversation

@mihe
Copy link
Contributor

@mihe mihe commented Jan 25, 2026

Fixes #115322.

This fixes an issue when using Jolt Physics, where if you performed a physics query during the body state synchronization (e.g. _integrate_forces) you could end up effectively discarding pending transform updates of newly added bodies.

This fixes that by limiting JoltBodyActivationListener3D to only be set during the simulation step.

Co-authored-by: Jorrit Rouwe <jrouwe@gmail.com>
@mihe mihe added this to the 4.7 milestone Jan 25, 2026
@mihe mihe requested a review from a team as a code owner January 25, 2026 15:46
@mihe mihe added bug topic:physics regression topic:3d cherrypick:4.6 Considered for cherry-picking into a future 4.6.x release labels Jan 25, 2026
@mihe mihe added the cherrypick:4.5 Considered for cherry-picking into a future 4.5.x release label Jan 25, 2026
@Repiteo Repiteo merged commit 5173422 into godotengine:master Jan 26, 2026
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Jan 26, 2026

Thanks!

@mihe mihe deleted the jolt/limit-body-activation branch January 27, 2026 17:57
@Repiteo
Copy link
Contributor

Repiteo commented Feb 5, 2026

Cherry-picked for 4.6.1.

@Repiteo Repiteo removed the cherrypick:4.6 Considered for cherry-picking into a future 4.6.x release label Feb 5, 2026
@akien-mga
Copy link
Member

Cherry-picked for 4.5.2.

@akien-mga akien-mga removed the cherrypick:4.5 Considered for cherry-picking into a future 4.5.x release label Feb 9, 2026
rivie13 pushed a commit to rivie13/Phoenix-Agentic-Engine that referenced this pull request Feb 16, 2026
…ation

Fix transform updates sometimes being discarded when using Jolt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Jolt RigidBody can ignore transform updates in _input method when VehicleBody and Wheel present

4 participants