exeldro / obs-move-transition

Move transition for OBS Studio
https://obsproject.com/forum/resources/move-transition.913/
GNU General Public License v2.0
686 stars 50 forks source link

Move Source filter doesn't realize Move Value updated its property until the filters window opens #205

Closed lookeypl closed 6 months ago

lookeypl commented 6 months ago

I've been playing around with the Move plugin recently, I've been trying to make a "prize spin wheel" animation via Move Source and Move Value filters and I'm having issues with the Random option. Seems like Move Source does not realize that Move Value updates one of its properties until I open the Filters menu in OBS and explicitly open its settings.

TL;DR of the setup:

What I expect to happen each time I make the Source visible is for Move Value - Random to set a new random relative rotation, which then will be used by Move Source - Spin to rotate the Source to a random angle. This does not happen, and every time I show the Source it spins to the same position.

The only time Move Value - Random actually updates the transform is when I explicitly open the Filters menu and click on the Move Source - Spin filter. This refreshes the transform property in the Move Source filter and makes the spin happen to a new random angle.

Attached an OBS Scene Collection I made to isolate this problem (uses OBS stock sources, no extra assets + only the Move plugin) - you can see the problem when you hide and show the Color Source: Move_random_issue.json

exeldro commented 6 months ago

Move source only supports updating the transform text via the user interface. I should make the separate values of the transform available in the move value filter.

exeldro commented 6 months ago

You can try the test build from the bottom of this page: https://github.com/exeldro/obs-move-transition/actions/runs/9031459351

lookeypl commented 6 months ago

Thanks for your help and quick response! I just checked it and everything works as expected.