PDA

View Full Version : pan_v (and relatives) question


Rick Workman
01-24-2008, 07:43 PM
From the hotspots tutorial, I assumed that setting pan_v (or tilt_v,zoom_v) would start the pan in motion, as in (from the tutorial):


pan_v changes panning speed of panorama

<global onStart="pano.pan_v=0.1" /> (gives a horizontal push to the panorama at start)


However, when I try this (actually I defer it to the onTransitionEnd event), no motion occurs. The only entries in the forum I can find relate to setting the velocity parameters to 0 to stop motion, e.g., if autorotating.

Has anybody succeeded in using velocity parameters to initiate motion like the onStart example would suggest?

Rick

zleifr
01-25-2008, 12:38 AM
pano.pan_v=1 will give the pano a "push" it'll move fast, and then slow to a stop. Smaller numbers are less "push" and negatives are the other direction.

If you want it to go and keep going, use pano.panKey=1. Smaller numbers are less speec and negatives are the other direction.

And if you want to control where it goes to use pano.pan=76,300. 76 is the degree measure to go to, and 300 is the time to do it in.

I have no idea what Denis means in his description of pano.pan_v, but what I said is what it does.

Zephyr

Rick Workman
01-25-2008, 02:23 PM
Just what I needed, although the documentation seems a little muddled.

Thanks,

Rick