We have updated our Away3D project to latest SVN so we can use BSP
code, it was simple to change IMaterial to Material, but seems strange
that Scene3D has a rotationY that can be changed every frame but does
not rotate the scene. It was fairly trivial to add _holder = new
ObjectContainer3D(); and add my 3d objects to that instead. Is there
a light way that Away3D could be modified so that attempts to rotate
the scene would result in a compiler or runtime warning rather than
failing silently?
Cheers
;j
On 25 May 2010, at 02:40, Peter Kapelyan wrote:
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