Hey Joseph alternatively, try using the native functions now supplied with Matrix3D in Flash 10:
camera.transform.matrix3D.prependTranslation(x y, z); the prepend methods basically apply a transformation to an object before it's transformation matrix is applied. so to move forward 10, you simply do: camera.transform.matrix3D.prependTranslation(0 0, 10); etc etc hth! Rob On Thu, Oct 15, 2009 at 10:14 AM, Joseph <[email protected]> wrote: > > True that. I'll give it a shot but not very confident in my > abilities ... wish me luck :) > > On Oct 14, 9:08 pm, katopz <[email protected]> wrote: > > Hey Joseph > > > > you can try port code from away3d > > > > hth > > > > On 15/10/2009, Joseph <[email protected]> wrote: > > > > > > > > > > > > > > > > > In case it's not obvious to others how to get around the loss: > > > > > camXdir = Math.sin(camPan * (Math.PI/180)) * stepSize; > > > camZdir = Math.cos(camPan * (Math.PI/180)) * stepSize; > > > > > camera.x += camXdir; > > > camera.z += camZdir; > > > > > where camPan is simply a variable that keeps track of the amount of > > > camera.rotationY done for Camera3D. > > > > > May be a better way around it but this works ... > > > > > On Oct 13, 1:29 pm, Joseph <[email protected]> wrote: > > >> I used > > > > >> camera.moveForward(N), camera.moveBackward(N), camera.moveLeft(N), etc > > >> with Camera3D > > > > >> extensively in away3d (heavy?) but lite doesn't like it ... is it > > >> still available? > > > > -- > > katopzhttp://www.sleepydesign.com- Hide quoted text - > > > > - Show quoted text - -- Rob Bateman Flash Development & Consultancy [email protected] www.infiniteturtles.co.uk www.away3d.com
