mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-03 14:59:23 +00:00
[DesktopVRIK] Fix sitting not disabling Locomotion tracking.
This commit is contained in:
parent
e070d86894
commit
9c627d3cce
1 changed files with 2 additions and 1 deletions
|
@ -233,9 +233,10 @@ internal class DesktopVRIKSystem : MonoBehaviour
|
|||
bool isCrouching = movementSystem.crouching;
|
||||
bool isProne = movementSystem.prone;
|
||||
bool isFlying = movementSystem.flying;
|
||||
bool isSitting = movementSystem.sitting;
|
||||
bool isStanding = IsStanding();
|
||||
|
||||
return !(isMoving || isCrouching || isProne || isFlying || !isGrounded || !isStanding);
|
||||
return !(isMoving || isCrouching || isProne || isFlying || isSitting || !isGrounded || !isStanding);
|
||||
}
|
||||
|
||||
bool IsStanding()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue