I am at my wits end trying to solve this. All I need to finish up this project I am on is to add a component that will allow me to zoom in ( or rather dolly? ) and out via two gui buttons. Any help or direction will be greatly appreciated.
just use fieldofview for the camera,then add a variable for zoom and increase or decrease it when button is pressed:
var myCam:Camera;
var increasingValue:float = 1;
//ongui
if (Gui.Button....) myCam.fieldOfView += increasingValue;
if (Gui.Button....) myCam.fieldOfView -= increasingValue;
i th9ink good way make a limit value to prevent errors.tell me if u nedd more help.
works GREAT. thanks