Rob,

Thank you! I look forward to playing with this in the morning.

Tony

On Oct 24, 6:33 pm, "Rob Bateman" <[EMAIL PROTECTED]> wrote:
> Hey Tony
>
> the problem here (as you've spotted) is a long running bug in the Away3d
> rotation properties. I've no idea why this wasn't picked up before but there
> you go
>
> essentially, transform updates were always reset by rotation property
> updates.
>
> transform updates are not just confined to the transform property, but also
> lookAt, rotate and.. you've guessed it, pitch roll and yaw
>
> so to get the same behaviour as the one you had, you need to manually reset
> the rotation properties when you rotate an object
>
> so replace the line:
>
> bugLoader.handle.rotationY = +(klingAngle+90);  // this would reset
>
> with
>
> bugLoader.handle.rotateTo(0, klingAngle+90, 0)
>
> rotateTo() is a new method designed to combat these new problems. Apologies
> for people who may have to adjust their apps because of this, but rest
> assured that the rotation properties are actually working correctly now!
>
> atb
>
> Rob
>
>
>
>
>
> On Fri, Oct 24, 2008 at 4:31 AM, mogg <[EMAIL PROTECTED]> wrote:
>
> > Rob,
>
> > I complied with the latest trunk and here is the result:
> >http://www.directresponsemedicine.com/flexsandbox/goosuc2/(now I have
> > a dancing klingon ship :)
>
> > //The following is the code section doing the work every frame:
> > //MD2still
> >  klingonLoader.handle.rotationY = +(klingAngle+90); // this would
> > reset any previous roll and adjust the angle
> >  klingonLoader.handle.roll(30); // this would roll 30 degrees as
> > expected
> > //animated MD2
> >  bugLoader.handle.rotationY = +(klingAngle+90);  // this would reset
> > any previous roll and adjust the angle
> >  bugLoader.handle.roll(30); // this would roll 30 degrees as expected
>
> >http://www.directresponsemedicine.com/flexsandbox/goosuc/(expected
> > good behavior)
>
> > Thanks in advance,
>
> > Tony
>
> > On Oct 22, 8:50 pm, mogg <[EMAIL PROTECTED]> wrote:
> > > Rob,
>
> > > Thank you. You are a wanted man. I have already tested with that code.
> > > The result is different than before but still off. I may not be using
> > > roll correctly. I will check again in the morning.
>
> > > Tony
>
> > > On Oct 22, 6:16 pm, "Rob Bateman" <[EMAIL PROTECTED]> wrote:
>
> > > > sorry - been asleep ;)
>
> > > > not sure if your rotation issues are fixed, but an update from a day or
> > so
> > > > ago did take care of some other problem we've been having with
> > rotations -
> > > > care to double check what's going on with your project now?
>
> > > > cheers
>
> > > > Rob
>
> > > > On Wed, Oct 22, 2008 at 7:40 PM, mogg <[EMAIL PROTECTED]> wrote:
>
> > > > > *ping* :)
>
> > > > > On Oct 19, 7:11 pm, "Rob Bateman" <[EMAIL PROTECTED]> wrote:
> > > > > > Hey Tony
>
> > > > > > duly noted - will try and look at this tomorrow
>
> > > > > > cheers
>
> > > > > > Rob
>
> > > > > > On Sat, Oct 18, 2008 at 5:37 PM, mogg <[EMAIL PROTECTED]>
> > wrote:
>
> > > > > > > Correction on the Trunk Link:
> > > > > > >http://www.directresponsemedicine.com/flexsandbox/goosuc2/(Away3D<http://www.directresponsemedicine.com/flexsandbox/goosuc2/%28Away3D>
> > <http://www.directresponsemedicine.com/flexsandbox/goosuc2/%28Away3D>
> > > > > > > Trunk)
>
> > > > > > --
> > > > > > Rob Bateman
> > > > > > Flash Development & Consultancy
>
> > > > > > [EMAIL PROTECTED]
>
> > > > --
> > > > Rob Bateman
> > > > Flash Development & Consultancy
>
> > > > [EMAIL PROTECTED] -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -
>
> --
> Rob Bateman
> Flash Development & Consultancy
>
> [EMAIL PROTECTED] Hide quoted text -
>
> - Show quoted text -

Reply via email to