Skip to content

fix: owner authoritative parenting backport #3453

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

NoelStephensUnity
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity commented May 19, 2025

This PR backports the the NetworkObject.SyncOwnerTransformWhenParented and NetworkObject.AllowOwnerToParent functionality.

MTTB-1284

fix: #2842

Changelog

  • Added: NetworkObject.SyncOwnerTransformWhenParented which will not synchronize transform values sent by the server when parented (primarily for owner authoritative motion models).
  • Added: NetworkObject.AllowOwnerToParent which allows a client owner to parent locally and have the changes synchronize with the server and other clients (primarily for owner authoritative motion models).

Testing and Documentation

  • Includes backported integration test modified to the constraints of v1.x.
  • Includes additions to public API documentation.

Backport

No back port needed as this is a targeted backport of certain v2.x features that could be useful to projects still using v1.x.

Bringing over the SyncOwnerTransformWhenParented and AllowOwnerToParent functionality.
Fixing API documentation issues.
@NoelStephensUnity NoelStephensUnity changed the title update: owner authoritative parenting backport fix: owner authoritative parenting backport May 19, 2025
@NoelStephensUnity NoelStephensUnity marked this pull request as ready for review May 19, 2025 20:28
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner May 19, 2025 20:28
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.

Client/Owner authoritative NetworkTransform and Re-Parenting issue
1 participant