PDA

View Full Version : Freeform view on an animated object problem


jaylocco
06-07-2009, 08:09 PM
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.
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.. :)