forked from TouchScript/TouchScript
-
Notifications
You must be signed in to change notification settings - Fork 1
TUIOInput
Erich Querner edited this page May 9, 2023
·
3 revisions
TouchScript supports devices which send touch data using TUIO 1.1 and TUIO 2.0 protocol.
To enable TUIO support you need to do the following:
-
Depending on your TUIO source or sender, add a TUIO input component to a gameobject in your scene.

-
Configure the connection protocol (UDP or Websocket), port and IP-Address as needed.

Be advised that TUIOInput doesn't work on platforms which don't support Sockets (WebGL).
Right now TouchScript supports Cursors/Objects (Tuio 1.1) and Pointers/Tokens (Tuio 2.0)