Enum NetcodeConfig.PartialTickMode
Whether the client prediction loop runs partial ticks. Refer to PartialTickModeSelection.
Namespace: Unity.Netcode
Assembly: Unity.NetCode.dll
Syntax
public enum NetcodeConfig.PartialTickMode
Fields
| Name | Description |
|---|---|
| FullTicksOnly | The prediction loop only runs full ticks. On frames that fall between two ticks, predicted ghosts don't move: to smooth their rendered transform in between, enable FullTickSmoothing on the ghost prefab. Input gathered during such a frame is first simulated when its tick runs in full, adding up to one tick of input latency. Simpler mental model (every predicted step is a whole tick, like a classic FixedUpdate) and less CPU (no per-frame partial resimulation). The default. |
| PartialTicks | The prediction loop ends each frame with a partial tick covering the time elapsed since the last full tick (IsPartialTick). Predicted ghosts move every frame and input is previewed immediately, at the cost of rolling back and re-simulating that partial step every frame. |