I'd like to set the view direction for a pano depending on which pano the user comes from. For example, if a user is in pano A and clicks to see pano B, they arrive in pano B looking in one direction. But if they are in pano C and click to see pano B they arrive in pano B looking in a different direction.
This sort of thing seems fairly important for creating cross-linked tours. I tried using a variable to set a specific pan parameter in the onclick() part of a hostpost and then using that variable as the first part of the lookto() instructions in an action - but this gives me a black pano. Peeking into the options plugin display shows that lookat is NaN/NaN (not a number)... so I'm obviously messing this up completely!
(I must admit that I'm guessing wildly about how to use variables - that's not helping!)
Can anyone offer any advice?
Keith