fix wrong comparison

This commit is contained in:
Glax 2023-12-06 23:41:50 +01:00
parent c846e50fd9
commit 3f85e9b0e7

View File

@ -201,7 +201,7 @@ public class OSCCollar
if (_leashStretch < _walkStretch) //Below Deadzone if (_leashStretch < _walkStretch) //Below Deadzone
_movementVector = new(); _movementVector = new();
else if (_walkStretch < _runStretch) //Walk else if (_leashStretch < _runStretch) //Walk
_movementVector = _unitVectorLeash.MultipliedWith(0.5); _movementVector = _unitVectorLeash.MultipliedWith(0.5);
else //Run else //Run
_movementVector = _unitVectorLeash.MultipliedWith(1); _movementVector = _unitVectorLeash.MultipliedWith(1);