building a pointer from game object

Ask for help and post bugs.

building a pointer from game object

Postby nikl » Wed Jan 10, 2018 12:12 am

hi there,

I am very new to unity, c# and touch script. I tried to build a pointer from a game-object that is controlled by a Kinect-sensor. so far the game-object follows my hand. now I want to start the "touch" when the hand get closed. therefore I receive a status from the Kinect-interface and a bool-variable from the game-object is set to true. but how can I tell touch script, that the object is a pointer an now "pressed"? I studied your documentations and tutorials for days but get no clue.

any help is appreciated. thank you in advance.
nikl
 
Posts: 1
Joined: Tue Jan 09, 2018 11:59 pm

Re: building a pointer from game object

Postby valyard » Sun Jan 14, 2018 1:23 pm

If you are new to Unity and C# you might not be skilled enough to do this.
The right approach would be to write an Input Source which converts data from Kinect to TouchScript pointers. But, it is not the easiest task. I wrote some info about how to do this here: https://github.com/TouchScript/TouchScr ... put-Source
valyard
Site Admin
 
Posts: 439
Joined: Mon Sep 08, 2014 11:57 pm


Return to Help and Bugs

Who is online

Users browsing this forum: No registered users and 9 guests