PDA

View Full Version : vrpn and viz.MainView.setPosition not working


dorijan
04-06-2011, 05:24 AM
Hi to all...

I managed to get working my tracker(VR Space) with worldviz, but I did not managed to set viewpoint where I want it to be. Problem is that I set viewpoint with viz.MainView.setPosition where I want it to be, but when I link it to my tracker with viz.link(tracker1,viz.MainView) it is lost somewhere :(

I tried with tracker1.swapPos, viz.MainView.move but the tracker is always in the same position.

p.s. I do not want to use tracker to move viewpoint, I just want to rotate...
thank you...

dorijan
04-07-2011, 01:35 PM
so, is there any way to fix viewpoint? I really need a quick fix :(

farshizzo
04-07-2011, 01:40 PM
You posted the question in the wrong forum. This should be in the Vizard forum.

Regarding your question, just change the link mask between the tracker and viewpoint to only control the rotation:viz.link(tracker1,viz.MainView,mask=viz.L INK_ORI)