Rob, YES! That did the trick. It now performs as expected. Thank you!
Tony On Oct 26, 4:56 pm, "Rob Bateman" <[EMAIL PROTECTED]> wrote: > Hey Tony > > another update done - see what you get now :) > > Rob > > > > > > On Sat, Oct 25, 2008 at 5:04 PM, mogg <[EMAIL PROTECTED]> wrote: > > > Rob, > > > That did not work. Here is what I discovered. > > > //use case 1 > > klingon.handle.rotateTo(0, +(klingAngle+90), 0); > > klingon.handle.roll(30); // roll seems to partically reset the > > rotation. > > //klingon rolls and wabbels > > > //use case 2 (swapped order) > > klingon.handle.roll(30); > > klingon.handle.rotateTo(0, +(klingAngle+90), 0); // this line now does > > nothing. It is as if the "roll" prevents any future translations > > // klingon keeps rolling but never rotates > > > 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<http://www.directresponsemedicine.com/flexsandbox/goosuc2/%28now>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<http://www.directresponsemedicine.com/flexsandbox/goosuc/%28expected> > > > > 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> > > > > <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] > > quoted text - > > > > - Show quoted text - > > -- > Rob Bateman > Flash Development & Consultancy > > [EMAIL PROTECTED] Hide quoted text - > > - Show quoted text -
