Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 4-Jun-2011 12:51:17

louis
Member
Registered: 4-Jun-2011
Posts: 20

about kinect plugin work with if inst

hi, i am a new user of openspace 3D, today i use kinect to work with AR, it worked.
now i want to use kinect to control the sound. like when the hands up , the sound "Do" will play.
when i try to connect kinect user inst with sound inst, i use "if inst" between them.
but i don't know how to set it. like, when i right click kinect user inst  and choose "hands distance" and click if inst choose "superior or equal" , and i don't where to set the value,  like the "hands distance" is "superior or equal" to "0.5 meter" .  i click the link between them, and add a value at here, but it didn't work.
would u please tell me how to set it?
thanks very much

Offline

#2 4-Jun-2011 13:50:53

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: about kinect plugin work with if inst

use the if plugit and maths get vector, in the plugIT editor set the value to check and link hand distances->get vector.X->if.superiorOrEqual  if.true->sound.play
you can use the same way for hands position

Offline

#3 4-Jun-2011 16:20:43

louis
Member
Registered: 4-Jun-2011
Posts: 20

Re: about kinect plugin work with if inst

it worked, thank you very much!:)

Offline

Board footer

Powered by FluxBB