Blend State 1D node interpolation
OS : Windows 11
RIVE editor: BETA 0.8.3877
When using the “Blend State 1D” node, interpolation between two simple animation frames on a single scale X value is incorrect.
Steps to reproduce:
Create an artboard (default: 500px x 500px)
Create a rectangle the size of the artboard
Set the rectangle’s origin to x:0
Create a view model with a Number variable
Create a timeline named “min”, with a single frame setting scaleX = 0
Create a timeline named “max”, with a single frame setting scaleX = 100
In the State Machine, add a "Blend State 1D" node
In the blend node settings: disable “Capture Base State”
Select the Number property as the input
Add the “min” timeline at value 0
Add the “max” timeline at value 100
Connect the Entry node to the Blend node
Start the State Machine playback
Set the Number value to 50 in the Data tab
Expected result:
The rectangle should cover half of the artboard on the X axis.
Actual result:
The interpolation is incorrect.
Since the Blend node is typically used for progress bars / health bars, this issue is problematic.