This commit is contained in:
miwarnec 2024-11-05 12:03:33 +01:00
parent 51947ba9b5
commit 6e71c5e918

View File

@ -175,8 +175,6 @@ bool Changed(Vector3 currentPosition, Quaternion currentRotation)//, Vector3 cur
{ {
float positionDelta = Vector3.Distance(currentPosition, lastSerializedBaselinePosition); float positionDelta = Vector3.Distance(currentPosition, lastSerializedBaselinePosition);
if (positionDelta >= positionSensitivity) if (positionDelta >= positionSensitivity)
// float positionChange = (currentPosition - lastPosition).sqrMagnitude;
// if (positionChange >= positionPrecisionSqr)
{ {
return true; return true;
} }