fix wrong comparison
This commit is contained in:
parent
c846e50fd9
commit
3f85e9b0e7
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user