Object rotation using lookAt is constrained.

Software: Away3D 4.x

Avatar
SasMaster, Sr. Member
Posted: 19 February 2012 06:18 PM   Total Posts: 127

Hi All,haven’t been here for some time.I would like to ask if anybody noticed the following .If I use a camera and rotating it 360 degrees using lookAt and some target which rotates around it,if I read camera.rotationY the range is between -90 and 90 degrees.So it looks like lookAt constraints the rotation angle in that range? Is is due to matrix.poinAt() method that runs under lookAt() ?Can it be changed to a regular 0-360 range ?

 Signature 

This looks like a job for superman
http://blog.alladvanced.net

   

Avatar
SasMaster, Sr. Member
Posted: 19 February 2012 06:33 PM   Total Posts: 127   [ # 1 ]

Forget it ,I had a very old version.Pasted the code from the latest build and it works fine .

 Signature 

This looks like a job for superman
http://blog.alladvanced.net

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X