HomefieldOfView | SPi-V dev

Navigation

user

transfer values to director

How can I read values of pan/tilt from panorama using SPi-V and transfer them to Director to make further calculations? Like in Spotter.
Karol

Re: transfer values to director

To get the "tilt" property of the camera, you can use this code in Director (assuming you have the SPi-V movie as a sprite, which already has the SPi-V: Init behavior attached to it):

tell sprite("your SPi-V sprite")
  tValue = getProperty("_camera","tilt")
end tell

put tValue