Quantcast
Channel: Recent Discussions — Mixed Reality Developer Forum
Viewing all articles
Browse latest Browse all 10543

Hand Draggable script doesnt work anymore

$
0
0

I used to code with hand draggable on unity 5.5, but when I changed to 2017, it doesn't respond anymore.
When I simulate with the mouse i do get the desired response, but with the holographic emulator, or the hololens, it wont move.
Looking into the code I noticed it has something to do with the:

if (!eventData.InputSource.SupportsInputInfo(eventData.SourceId, SupportedInputInfo.Position))
{

            // The input source must provide positional data for this script to be usable
            return;
        }

on the script, where the eventData.SourceId, forces the OnInputDown to return and not implement the dragging, does anyone know how to implement hand dragging on 2017?


Viewing all articles
Browse latest Browse all 10543

Trending Articles