WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Freeform view on an animated object problem (https://forum.worldviz.com/showthread.php?t=2077)

jaylocco 06-07-2009 08:09 PM

Freeform view on an animated object problem
 
Hi,

I've seen a post on how to do a free form view using mouse. how do I attach this free form view on an animated object. Let say a car moving on a specific path, as it moves along, we could view freely using the mouse as if we are looking around while taking the ride in this car.

I have tried to link the car and the mainView. But the view got fix to where the car is facing.

Could some expert out there give some guides? Thanks in advance.

Jeff 06-08-2009 02:23 PM

You can set the mask of the link so it only affects the position and still look around with the mouse.
Code:

link = viz.link(car, viz.MainView)
link.setMask(viz.LINK_POS)


jaylocco 06-08-2009 08:09 PM

Jeff,

thanks for the tips.It totally works.. I'll study more on what link could do.. :)


All times are GMT -7. The time now is 09:13 PM.

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