Game Development Community

Can't zoom camera while it's mounted

by Dan Phillips · in Torque Game Builder · 09/20/2007 (7:36 pm) · 0 replies

SetCurrentCameraZoom works while the camera is mounted but

sceneWindow2D.setTargetCameraZoom(0.5);
sceneWindow2D.startCameraMove(0.4);

does not while the camera is mounted. I assume it's disabled because you can't move the camera's position while it's mounted but this stops you from using startCameraMove with target camera zoom.

Would be nice if startCameraMove zoomed the camera and if the camera is mounted ignore any target positions instead of just not working.

Any way to quickly fix this in the source?