Problem with HoverController, and fix.

Software: Away3D 4.x

medellin, Newbie
Posted: 17 December 2012 10:42 PM   Total Posts: 8

Lines 284 and 285

Currently:

_currentTiltAngle += (_tiltAngle _currentTiltAngle)/(steps 1);
_currentPanAngle += (_panAngle _currentPanAngle)/(steps 1); 

Should be:

_currentTiltAngle += (_tiltAngle _currentTiltAngle)/steps;
_currentPanAngle += (_panAngle _currentPanAngle)/steps

I would commit this to github, but I couldn’t get things setup properly.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X