Movement Prediction
ObjectNet provides an embedded Movement Prediction system to allow users of competitive games to reduce or mitigate latency problems.
Movement Prediction has a few options to adjust a fine-tuning.
- Prediction Buffer Size
- This option creates a buffer where each past position is stored to be used as a database of predicted positions, you can adjust according to your needs.
- Prediction Mode
- Prediction mode tells the ObjectNet how the system will check the parameters ( such as distance, angular velocity, linear velocity, etc.. ) needed to predict movement and the values can be :
- Automatic
- The system will automatically select the best approach
- By Transform
- The system will use transform to calculate needed values, this can be useful if your objects don't have a rigid body.
- By Physics
- The system will use physics objects ( such as Rigid Body ) to calculate needed values.
- Latency Factor
- This parameter tells the system how they shall handle latency ( see Latency Factor ).