public void Update(float deltaTime) { if (drawOffset.LengthSquared() < 0.01f) { PositionSmoothingFactor = null; } drawOffset = NetConfig.InterpolateSimPositionError(drawOffset, PositionSmoothingFactor); rotationOffset = NetConfig.InterpolateRotationError(rotationOffset); }