|
#1
|
|||
|
|||
flockOfBirds events
Hello everybody,
I found that Vizard is so simple in working with FlockOfBirds trackers. Now I woudl ask you for how can I event mapping generated by the FOB? I followed the example in the manual that manages the FOB to move the head position. I would use it to change a 3D cursor represented by a sphere. Where can I find an example? What is the event releted to the FOB? I found that I can map viz.TRACKER but I think this is not the right event. Isn't it? Thank you so much. Giancarlo |
#2
|
|||
|
|||
If you want a model, like a sphere, to take on the postion and orientation of a bird, use the <VizNode>.link( sensor ) command.
Code:
sensor = viz.add('flockofbirds.dls'); cursor = viz.add( 'ball.wrl' ) cursor.link( sensor )
__________________
Paul Elliott WorldViz LLC |
#3
|
|||
|
|||
Thank you very much your help will be very usefull but I was asking for is if there is any kind of....
viz.callback(????Events FOB???, functionHandler) related to this device. Thank you so much Giancarlo |
#4
|
|||
|
|||
There is no event functionality for this sensor. As an alternative, set up a timer that monitors the sensor data and calls a function when the data changes to an event worthy state.
__________________
Paul Elliott WorldViz LLC |
|
|