regzo2 / BinaryParameterTool

Create animations for Binary Parameters for VRCFaceTracking
16 stars 4 forks source link

Fix default min & max for BinaryStateMachine #1

Closed uber5001 closed 2 years ago

uber5001 commented 2 years ago

There's some wonky face tracking when the min is 1 and the max is 0.

regzo2 commented 2 years ago

Thanks for catching, though the code from the Window script sets it to the appropriate value (min: 0, max: 1)

I will probably use a setter to prevent the max being less than the minimum, or set a floor in the code for it. Would need to do that anyway for use outside the tool itself.