Easiest camera in Away3D (I know it by heart, used it to death) view.camera.moveTo(object.x,object.y,object.z); view.camera.rotationY=incrementalNumber;//1,2,3,4 etc view.camera.moveBackward(distanceNumber);
Ever since I figured it out, it works wonders for me, in just about every project I do. I hope it helps you out. -Pete On Mon, May 24, 2010 at 8:04 PM, Joshua Granick <[email protected]>wrote: > > Hi everyone, > > I just jumped back into an old project -- I think I was using Away3D 3.4 > ... whatever was current in the SVN repository several months ago. I just > updated to the latest version of the repository, and my rotation isn't > working correctly anymore. > > I caught the change from IMaterial to Material and Md2Still to Md2, but I'm > not sure how to resolve my rotation ... > > Basically I have a couple complex scenes all stacked on top of each other. > In order to simplify my camera movement, I changed the rotationZ of each > View's scene object to spin the world around. I guess I can see how this > would be deprecated :) > > Now that I'm thinking aloud, I guess I need to leave everything in place > and move my camera. Does anyone know how to easily rotate the camera around > an object? I want it to stay the same distance away from it's center, but > rotate around, like a satellite around a globe. I also noticed there's a new > Drag3D class ... is that hard to use? Once I get my camera issue resolved, I > know it's going to break my current dragging solution. > > Thanks! > -- ___________________ Actionscript 3.0 Flash 3D Graphics Engine HTTP://AWAY3D.COM
