X Tutup
Skip to content

Make extended SkeletonModifiers retrieve interpolated global transform#110987

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
TokageItLab:smod-physics-interpolate
Oct 1, 2025
Merged

Make extended SkeletonModifiers retrieve interpolated global transform#110987
Repiteo merged 1 commit intogodotengine:masterfrom
TokageItLab:smod-physics-interpolate

Conversation

@TokageItLab
Copy link
Member

@TokageItLab TokageItLab requested review from a team and lawnjelly September 28, 2025 04:38
@TokageItLab TokageItLab requested a review from a team as a code owner September 28, 2025 04:38
@TokageItLab TokageItLab added topic:animation topic:3d cherrypick:4.5 Considered for cherry-picking into a future 4.5.x release labels Sep 28, 2025
@TokageItLab TokageItLab moved this to Ready for review in Animation Team Issue Triage Sep 28, 2025
Copy link
Member

@lawnjelly lawnjelly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine. 👍

The only thing to be wary of here is that as a result of #107308, get_global_transform_interpolated() has the potential to be quite expensive for hidden nodes, as the calculations are done on demand.

It might be worth double checking that this code in spring_bone_simulator and look_at_modifier is turned off for hidden nodes (this is something that is often assumed but does not always happen).

Long term we may have a think whether we can try and make get_global_transform_interpolated() more idiot-proof for hidden nodes in terms of calculation on demand. It fixes a rare use case but creates significant risk of performance regressions with sloppy calling.

@TokageItLab TokageItLab moved this from Ready for review to Approved, Waiting for Production in Animation Team Issue Triage Sep 28, 2025
@TokageItLab TokageItLab added this to the 4.6 milestone Sep 28, 2025
@Repiteo Repiteo merged commit 5f2593c into godotengine:master Oct 1, 2025
39 of 40 checks passed
@github-project-automation github-project-automation bot moved this from Approved, Waiting for Production to Done in Animation Team Issue Triage Oct 1, 2025
@Repiteo
Copy link
Contributor

Repiteo commented Oct 1, 2025

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 4.5.1.

@akien-mga akien-mga removed the cherrypick:4.5 Considered for cherry-picking into a future 4.5.x release label Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Really bad Jittering when using SpringBoneSimulator3D on CharacterBody3D that moves with Physics interpolation

4 participants

X Tutup