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.
Pages: 1
Hi,
Recently Finger's found Functionality are added so How can I check Multi fingers are found in single condition. I mean using 'If' or 'switch' condition how can I acomplish that ...:cool:
Last edited by RasaMohamed (1-Dec-2014 15:04:02)
Offline
Hi
multi touch is automatically managed by FPS navigation plugit and interface button.
The multi touch plugit can also gives some events on touch.
it return the number of fingers found with the Nb cursor event.
Offline
FPS.Circle right Progress -> switchcaseRight
switchcaseRight -> FPS like controller inst.control This would control Right side rotation and as same as for Left rotation.
FPS.Second index found -> FPS like controller.control
FPS.Second index lost -> FPS like controller.control This would control walk forward and as same as for back with some modification.
Whereas how can I accomplish this with two gesture I mean If ' index and middle found -> FPS like controller.control '. Is it possible to implement this multi touch plugit in to FPS
Offline
I don't understand,
the defaut FPS like multi touch control do not fit your needs ?
On multi touch device there is no finger identification. it's only "points" just like you were using several mouses.
you can disable FPS control default inputs and make your own.
add input multi touch plugit
depending of the nb cursor event enable or disable a control switch.
but how do you want the 2 fingers to be interpreted to move the camera ?
Offline
Yes, you don't understand . . .
I'm not asking about MultiTouch control, After your 1st reply I did asked about Multitouch.
Simple, I'm using only single finger gesture [ for walk ] as input for FPS like controller. If Index finger has found it starts to walk that's it.
Now I'm trying to do is if I show two finger[ Index and middle finger found ] it have to move forward.
' FPS.index found-> scene.FPS like controller ' now this will move forward if I show my index finger. Instead of this it have to move forward if only my index and middle fingers are found.
Offline
ho ok you forgot to tell you were using leap motion.
this way you can use several switch plugits.
switch index and swtich middle
index found -> switch index. switch right
index lost -> switch index. switch left
middle found -> switch middle. switch right
middle found -> switch middle. switch left
index found -> switch index.input
middle found -> switch index.input
switch index.right -> switch middle.input
switch middle.right -> control
Offline
Pages: 1