Skip to content

fix: Support InLocalSpace in AnticipatedNetworkTransform #3995

Open
ShadauxCat wants to merge 7 commits into
develop-2.0.0from
fix/anticipatednetworktransform_inlocalspace
Open

fix: Support InLocalSpace in AnticipatedNetworkTransform #3995
ShadauxCat wants to merge 7 commits into
develop-2.0.0from
fix/anticipatednetworktransform_inlocalspace

Conversation

@ShadauxCat
Copy link
Copy Markdown
Collaborator

Purpose of this PR

Fixes AnticipatedNetworkTransform not respecting the InLocalSpace flag

fixes #2972

Jira ticket

UUM-137286

Changelog

  • Fixed: Fixed AnticipatedNetworkTransform not respecting the InLocalSpace flag

Documentation

  • No documentation changes or additions were necessary.

Testing & QA (How your changes can be verified during release Playtest)

Functional Testing

Manual testing :

  • Manual testing done

Automated tests:

  • Covered by existing automated tests
  • Covered by new automated tests

Does the change require QA team to:

  • Review automated tests?
  • Execute manual tests?
  • Provide feedback about the PR?

If any boxes above are checked the QA team will be automatically added as a PR reviewer.

Backports

@ShadauxCat ShadauxCat requested a review from a team as a code owner May 21, 2026 18:58
Copy link
Copy Markdown
Member

@EmandM EmandM 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 great! I especially like the duplication of the updates for WaitForConditionOrTimeout for the time travel tests.

}

transform_.SetPositionAndRotation(Transform.m_AnticipatedTransform.Position, Transform.m_AnticipatedTransform.Rotation);
if (Transform.InLocalSpace)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think it's worth having a function for SetPositionAndRotation that does this logic internally. We're using it a lot in this file, having a function will mean any future developers in this file won't have to remember about InLocalSpace.

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.

AnticipatedNetworkTransform breaks InLocalSpace configuration.

2 participants