forgot to remove logs

This commit is contained in:
mischa 2024-03-28 21:32:26 +08:00 committed by MrGadget
parent 41c811afa8
commit 665b2bdd47

View File

@ -581,8 +581,8 @@ void RecordState()
protected virtual void OnSnappedIntoPlace() {} protected virtual void OnSnappedIntoPlace() {}
protected virtual void OnBeforeApplyState() {} protected virtual void OnBeforeApplyState() {}
protected virtual void OnCorrected() {} protected virtual void OnCorrected() {}
protected virtual void OnBeginPrediction() => Debug.LogWarning($"BEGIN: {name}"); // when the Rigidbody moved above threshold and we created a ghost protected virtual void OnBeginPrediction() {} // when the Rigidbody moved above threshold and we created a ghost
protected virtual void OnEndPrediction() => Debug.LogWarning($"END: {name}"); // when the Rigidbody came to rest and we destroyed the ghost protected virtual void OnEndPrediction() {} // when the Rigidbody came to rest and we destroyed the ghost
void ApplyState(double timestamp, Vector3 position, Quaternion rotation, Vector3 velocity, Vector3 angularVelocity) void ApplyState(double timestamp, Vector3 position, Quaternion rotation, Vector3 velocity, Vector3 angularVelocity)
{ {