Messages |
distance | float | set the intersection distance from the wand |
Events |
start | wand, user | a wand and associated user have begun pointing |
event | wand, user | any wand events are generated while in the space |
stop | wand, user | a wand and associated user have stopped pointing |
Comments |
constructor pointAtTrigger
destructor ~pointAtTrigger
method reset
1 set distance to 10.0
method message
1 set the intersection distance from the wand
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 if not previously pointing generate start event
1.1.0.1.1.1 a wand and associated user have begun pointing1.1.0.1.2 if the number of wand flags is positive
1.1.0.1.2.1 for each wand flag
1.1.0.1.2.1.1 any wand events are generated while in the space
2.1 if not currently pointing then generate stop event3 a wand and associated user have stopped pointing
method pointingAtMe