Woseseltops / RU-HumLab-XR

0 stars 0 forks source link

State machine for a stimulus list #39

Open timjzee opened 11 months ago

timjzee commented 11 months ago

Best way to do this:

          stim1 --> stim2 --> ...
            ^   \    ^    \
            |    v   |     v
entry --> idle1  idle2     ...

Where the ^ and > transitions are triggered by a button press from the experimenter, and the v transitions are triggered by the end of the stimulus animation.

This structure allows for flexibility in which idle/listening animation we want to use. If certain recordings include a problematic listening animation (e.g. turning head to look at a non-existent screen) we can simply cut the animation short after the question part, and automatically transition into a listening animation from a different recording.

timjzee commented 11 months ago

use conduits: https://docs.unrealengine.com/5.3/en-US/state-machines-in-unreal-engine/#conduits