Skip to content

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
@NoelStephensUnity NoelStephensUnity merged commit c6f5c16 into develop May 27, 2025
40 checks passed
@NoelStephensUnity NoelStephensUnity deleted the fix/owner-authoritative-parenting-fixes-backport branch May 27, 2025 14:33
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

3 participants