Commit 2521520
committed
refactor
A complete refactoring of how parenting is handled when NetworkTransform.SwitchTransformSpaceWhenParented is enabled to provide a complete 1:1 match of (n) back-to-back parenting actions and/or many parenting actions that occur over several frames. This preserves the order of operations, sends 1 full state update plus an added parenting directive per action immediately, and then upon receiving the non-authority instances will apply the parenting, transform the local values and interpolators' queued entries between transform spaces (world to local, local to world, or local to local).1 parent ae61807 commit 2521520
File tree
3 files changed
+211
-154
lines changed- com.unity.netcode.gameobjects/Runtime
- Components
- Core
- Messaging/Messages
3 files changed
+211
-154
lines changed
0 commit comments