Messages |
distance | float | set the intersection distance from the wand |
local | [bool] | set position reporting mode |
Events |
pointing | wand, user, xpos, ypos, zpos | a user is pointing at the geometry |
event | wand, user, xpos, ypos, zpos | any wand events are generated while in the space |
start | wand, user, xpos, ypos, zpos | a wand and associated user have begun pointing |
stop | wand, user | a wand and associated user have stopped pointing |
Debugs |
pointing |
Comments |
constructor pointAtPosition
destructor ~pointAtPosition
method reset
1 set reporting mode to local
2 set distance to 10.0
method message
1 set the intersection distance from the wand
2 set position reporting mode
method app
1 for all users in the world
1.1 for each user wand2 for each wand previously pointing at geometry
1.1.0.1 if the wand is pointing at geometry
1.1.0.1.1 a user is pointing at the geometry
1.1.0.1.2 if the number of wand flags is positive
1.1.0.1.2.1 for each wand flag1.1.0.1.3 if not previously pointing generate start event
1.1.0.1.2.1.1 any wand events are generated while in the space
1.1.0.1.3.1 a wand and associated user have begun pointing
2.1 if not currently pointing then generate stop event3 a wand and associated user have stopped pointing
method pointingAtMe