Game Development Community

Zooming the Camera In and Out

by Rich Wilson · in Torque X 2D · 02/11/2007 (1:01 pm) · 1 replies

I want to zoom the camera in and out dynamically within the game, but I can't get at the size parameters for the game camera. I can access them through a method, but I don't know how to set them. Any ideas?

#1
02/11/2007 (2:43 pm)
I'm using a command like this
Camera.Extent = defaultCamExtent * currentZoom;
to zoom my camera.