We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cac76a commit 53b735cCopy full SHA for 53b735c
com.unity.netcode.gameobjects/Components/NetworkTransform.cs
@@ -1857,7 +1857,8 @@ private bool ApplyTransformToNetworkStateWithInfo(ref NetworkTransformState netw
1857
1858
networkState.NetworkDeltaPosition = m_HalfPositionState;
1859
1860
- if (m_HalfFloatTargetTickOwnership > m_CachedNetworkManager.ServerTime.Tick && !networkState.IsTeleportingNextFrame)
+ // If ownership offset is greater or we are doing an axial synchronization then synchronize the base position
1861
+ if ((m_HalfFloatTargetTickOwnership > m_CachedNetworkManager.ServerTime.Tick || isAxisSync) && !networkState.IsTeleportingNextFrame)
1862
{
1863
networkState.SynchronizeBaseHalfFloat = true;
1864
}
0 commit comments