mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
43 lines
1.5 KiB
YAML
43 lines
1.5 KiB
YAML
# This file is automatically generated. Please don't edit it manually.
|
|
# To submit a bug report on the content, see
|
|
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
|
|
|
|
name: PredictionMode
|
|
type: enum
|
|
summary: |
|
|
Enum used with `Class.RunService:SetPredictionMode()` to define the prediction
|
|
mode for the instance.
|
|
description: |
|
|
Enum used with `Class.RunService:SetPredictionMode()` to define the prediction
|
|
mode for the instance.
|
|
code_samples: []
|
|
tags: []
|
|
deprecation_message: ''
|
|
items:
|
|
- name: Automatic
|
|
summary: |
|
|
The engine will automatically decide if this instance should be predicted
|
|
or not. Currently, only `Class.BasePart|BaseParts` near the local player
|
|
character's `Class.Humanoid` will be predicted within a dynamic radius
|
|
that grows and shrinks based on the device's capability to handle the
|
|
simulation load.
|
|
value: 0
|
|
tags: []
|
|
deprecation_message: ''
|
|
- name: 'On'
|
|
summary: |
|
|
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 `Class.BasePart`, its physics
|
|
properties will be predicted ahead of the replicated authoritative server
|
|
state.
|
|
value: 1
|
|
tags: []
|
|
deprecation_message: ''
|
|
- name: 'Off'
|
|
summary: |
|
|
The instance will **not** be predicted. Regular network ownership
|
|
semantics apply.
|
|
value: 2
|
|
tags: []
|
|
deprecation_message: ''
|