Enum
PredictionMode
Enum used with RunService:SetPredictionMode() to define the prediction
mode for the instance.
Enum used with RunService:SetPredictionMode() to define the prediction
mode for the instance.
Items 3#
| Name | Value | Summary |
|---|---|---|
Automatic | 0 | The engine will automatically decide if this instance should be predicted
or not. Currently, only BaseParts near the local player
character's Humanoid will be predicted within a dynamic radius
that grows and shrinks based on the device's capability to handle the
simulation load. |
On | 1 | The instance will be predicted. Mismatches in the attributes of this
instance between the client and server will cause a rollback and
resimulation. If the instance is a BasePart, its physics
properties will be predicted ahead of the replicated authoritative server
state. |
Off | 2 | The instance will not be predicted. Regular network ownership semantics apply. |