Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
tuio931
tuio931's Profile
1
Posts
0
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Get X and Y position of TUIO object
[1 Reply]
04-Feb-2013 03:29 PM
Forum:
Contributed Library Questions
Hello,
this is how I get X and Y position into array based on mouse cursor:
r[0].x = mouseX;
r[0].y = mouseY;
s[0].x = xhist[(index+1)%history];
s[0].y = yhist[(index+1)%history];
index = (index+1)%history;
xhist[index] = mouseX;
yhist[index] = mouseY;
How do I do same for TUIO object?
Cheers
«Prev
Next »
Moderate user : tuio931
Forum