I have camera looking at an object from aerial view.
I want to go nearer to that object as I rotate mouse wheel. I tried it using lens like so,
private function onMouseWheelEvent(e:MouseEvent):void
{
PerspectiveLens(view.camera.lens).fieldOfView -= e.delta;
}
But it is binocular effect. I need that camera change it position along its viewing direction vector.
How to get this vector. Help please.