I am having a problem where after I instantiate a look at controller for my camera I then try and call the method lookAtPosition( Vector3D() ) on it, but the error I get is as follows:
1195: Attempted access of inaccessible method lookAtPosition through a reference with static type away3d.controllers:LookAtController.
As far as I can tell, the LookAtController is not static, nor is the lookAtPosition method, so I am not really sure why this is happening.
_lookAtController = new LookAtController( _camera3D );
_lookAtController.autoUpdate = true;
// This is the line where the error occurs.
_lookAtController.lookAtPosition( new Vector3D( 0, 0, 0 ) );