Looked into Object3D lookAt() ,it seems that I do it the right way.May be the forward calculation is wrong somewhere. Carry on..
On Tue, Jun 7, 2011 at 5:50 PM, Michael Iv <explomas...@gmail.com> wrote: > Away3D Matrix3DUtil lookAt() gives some really unexpected results,U guess > it can't work with forward vector input.Updating Up and Left with roe > copying is what I am breaking my head on now.. > > > On Tue, Jun 7, 2011 at 5:41 PM, John Brookes <jbp...@googlemail.com>wrote: > >> You can't just put a new forward into the matrix. The Up and Left would >> have to be also updated, plus scaling, if any. >> >> So erm... just copy how lookAt works. Maybe? >> >> > > > -- > Michael Ivanov ,Programmer > Neurotech Solutions Ltd. > Flex|Air |3D|Unity| > www.neurotechresearch.com > http://blog.alladvanced.net > Tel:054-4962254 > mich...@neurotech.co.il > t...@neurotech.co.il > > -- Michael Ivanov ,Programmer Neurotech Solutions Ltd. Flex|Air |3D|Unity| www.neurotechresearch.com http://blog.alladvanced.net Tel:054-4962254 mich...@neurotech.co.il t...@neurotech.co.il