GMU:Digital Puppetry Lab/Group Ben & Luca: Difference between revisions

From Medien Wiki
Line 108: Line 108:
====Step 2: Update Functions====
====Step 2: Update Functions====
In our update function we check the values of the osc message stream. We have set up controllers for the audio source with the beat loop and also a controller to display the text and another one for moving the dance floor. If the text isn't shown the audio volume is set to 1. if not the volume gets muted. The same thing for the text. "yPos" controls the Y coordinate of the Dance Floor.
In our update function we check the values of the osc message stream. We have set up controllers for the audio source with the beat loop and also a controller to display the text and another one for moving the dance floor. If the text isn't shown the audio volume is set to 1. if not the volume gets muted. The same thing for the text. "yPos" controls the Y coordinate of the Dance Floor.
====Step 2: Parse OSC Values====
This is our basic setup to retrieve the message values from max msp which will be called in the update function.


[[File:unity6.png|thumb]]
[[File:unity6.png|thumb]]
[[File:unity7.png|thumb]]
[[File:unity7.png|thumb]]