Hi Rob I have made some progress, but can you please tell me if it is possible to move the cameras backwards and forwards within the FOV with the with mousewheel or keydown as in this example:
http://papervision2.com/8-keyboard-interaction-to-move-the-camera/ I've been trying to adapt this to fit Camera3D and rotating earth example but getting no errors but no "zoom" in or out either. Hope I'm not being stupid, but I can't find any example with this functionality. Thanks in advance! On Oct 11, 9:01 am, Rob Bateman <[email protected]> wrote: > Hey GBear > > you can zoom with the hovercamera by adjusting the distance property, and > the targetpanangle and targettiltangle are used for controlling rotation, as > i'm sure you've seen from the examples > > the default values for hovercamera are 800 distance, 0 targetpanangle, 90 > targettiltangle. this places the camera looking from the top straight down > onto the center of the scene, from a distance of 800. you may be seeing > default angle of 45 degrees from the demos you are working with, because > they have been reset at the start of the demo. > > the hovercamera does not give you full rotation control, because the > orientation of the camera is always 'up'. for that, you need to just use the > standard camera3d class, moving and rotating it using the x/y/z > rotationX/rotationY/rotationZ properties. experiment with these and you > shoudl get what you need > > Rob > > > > On Tue, Oct 6, 2009 at 2:49 PM, GBear <[email protected]> wrote: > > > Hi Guys > > > I'm trying to build a scene with the ability to navigate like you can > > using Blender, ie zoom and full 360 rotation on all axes, but not have > > the container rotate as with the globe example. > > > All the other examples seem to have limited movement and I've tried > > changing values with little noticeable effect. Have you got some > > pointers or an example for me to work from please? > > > I saw the post earlier on mousewheel for zoom and I use Mac- will I be > > biting off my than a beginner can chew? > > > What's is the default view3d starting angle? Everytime I import .obj > > they seem to be facing about 45 deg off, and even the Basic_text.fla > > swf starts at 45 deg. > > > I'm getting a touch confused. > > > I got my text working at last by importing objects to the > > Basic_text.fla example, I never got my own swf to work. > > > Thanks in advance. > > -- > Rob Bateman > Flash Development & Consultancy > > [email protected]
