Skip to content

Commit 05c3f10

Browse files
style
adjusted comment for clarity purposes.
1 parent c72dede commit 05c3f10

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

com.unity.netcode.gameobjects/Components/NetworkTransform.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -683,8 +683,7 @@ private void ApplyAuthoritativeState()
683683

684684
// NOTE ABOUT INTERPOLATING AND BELOW CODE:
685685
// We always apply the interpolated state for any axis we are synchronizing even when the state has no deltas
686-
// to properly extrapolate. Extrapolation is stopped on the non-authoritative side 1 tick after the original
687-
// state was applied.
686+
// to assure we fully interpolate to our target even after we stop extrapolating 1 tick later.
688687

689688
// Update the position values that were changed in this state update
690689
if (networkState.HasPositionX)

0 commit comments

Comments
 (0)