Skip to content

Perf: optimize kinematic body velocity interpolation by tracking them…#924

Open
yagizgil wants to merge 1 commit intodimforge:masterfrom
yagizgil:perf/optimize-kinematic-velocity-interpolation
Open

Perf: optimize kinematic body velocity interpolation by tracking them…#924
yagizgil wants to merge 1 commit intodimforge:masterfrom
yagizgil:perf/optimize-kinematic-velocity-interpolation

Conversation

@yagizgil
Copy link

@yagizgil yagizgil commented Mar 7, 2026

This PR optimizes the kinematic body velocity interpolation by tracking active kinematic bodies within each island. Previously, the pipeline iterated over all active bodies to find kinematic ones. This change improves performance in scenes with many dynamic bodies and few kinematic ones. Closes the internal TODO in physics_pipeline.rs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant