Data Binding not working on export
Goal:
1) Have the ball follow the mouse with a delay.
2) Have the ball go back to specific position if mouse goes outside hitbox.
3) Have the ball fade when it reaches edges.
It’s working perfect in Rive, but when I export (it’s being implemented in webflow and/or previewed in rive.rip)
Setup:
For the feather, it’s just a joystick to animate opacity according to X and Y timelines
For the delay:
1. Mouse Target Original (always following mouse’s original position)
2. Mouse Target Delayed (data binded with an interpolator to the original)
3. Mouse Target Constrained (this layer has a translation constrain with ‘Mouse Target Delayed’ as a target. The reason for this, is that I need to animate the strength of that constrain to be 0 when hover is false, and hardcode the position of this layer to take the ball to a specific position.
As video shows, it works perfect in Rive. But data binding seems not to be working in website and previewer (blue dot is following mouse, so allign target is working ok)
Tried the most common issues I found online (export instance is checked, viewmodel is active) But feel free to point out any silly thing I’m ommiting or not considering that could be causing this!
Thanks in advance!