Subject: Help with Controlling Movie Playback in TouchDesigner Based on Random Trigger
Hi,
I’m working on a projection for a Santa Claus house, where a closed curtain animation loops when idle. When a child posts a letter in Santa’s mailbox, a sensor is triggered and sends a USB signal, which generates a random number between 1 and 5. I receive this number through a Serial CHOP, and this part works perfectly.
The number then triggers one of five corresponding movies through a Switch TOP, where the five movies are connected. However, I’m facing two issues:
- The triggered movie starts playing from its current time location instead of from the beginning.
- The movie should play only once and then switch back to the idle movie (index number 0 in the Switch TOP).
I can’t figure out how to achieve these two steps. Does anyone have suggestions or solutions for this? Any help would be greatly appreciated!
Thanks in advance!