WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   flockOfBirds events (https://forum.worldviz.com/showthread.php?t=636)

giancamati 06-30-2006 02:43 AM

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:D

Gladsomebeast 06-30-2006 08:56 AM

If you want a model, like a sphere, to take on the postion and orientation of a bird, use the .link( sensor ) command.
Code:

sensor = viz.add('flockofbirds.dls');
cursor = viz.add( 'ball.wrl' )
cursor.link( sensor )


giancamati 07-01-2006 12:18 PM

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:D

Gladsomebeast 07-03-2006 10:35 AM

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.


All times are GMT -7. The time now is 01:59 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC