mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
remove unused
This commit is contained in:
parent
a7826711c3
commit
d7daadade4
@ -57,14 +57,6 @@ public class ForecastRigidbody : NetworkBehaviour
|
||||
public float motionSmoothingTimeTolerance = 0.5f;
|
||||
double motionSmoothingLastMovedTime;
|
||||
|
||||
// client keeps state history for correction & reconciliation.
|
||||
// this needs to be a SortedList because we need to be able to insert inbetween.
|
||||
// => RingBuffer: see prediction_ringbuffer_2 branch, but it's slower!
|
||||
[Header("State History")]
|
||||
public int stateHistoryLimit = 32; // 32 x 50 ms = 1.6 seconds is definitely enough
|
||||
readonly SortedList<double, RigidbodyState> stateHistory = new SortedList<double, RigidbodyState>();
|
||||
public float recordInterval = 0.050f;
|
||||
|
||||
[Header("Reconciliation")]
|
||||
[Tooltip("Correction threshold in meters. For example, 0.1 means that if the client is off by more than 10cm, it gets corrected.")]
|
||||
public double positionCorrectionThreshold = 0.10;
|
||||
|
Loading…
Reference in New Issue
Block a user