Game Development Community

A couple questions about the camera

by Ehrlich · in Torque Game Builder · 08/26/2008 (11:15 pm) · 1 replies

Hello there again folks... this time around i've got a couple questions about the camera.

i already know how to zoom the camera, and how to move it on the X and Y axis... but i've been wondering, is there a way to rotate the camera clock (and counterclock) wise?... i mean, by typin a set of commands, havin the whole scene rotating as a whole?

another question.
the command "startCameraMove" allows me to ... well, move the camera to a target zoom and position, but... is there a way to slowdown or speed up that transition?


thats about it for now... as usual, Thx in advance.

About the author

Computer Science Engineer, with interest in Graphicl Computing, unconventional I/O devices and Artificial Intelligence (for games)


#1
08/26/2008 (11:34 pm)
Looking at the camera related methods on the t2dscenewindow im gonna say no you can't rotate it. Another idea which also fails is rotating the whole t2dscenewindow, since it is a guicontrol which also does not support rotation. But t2dscenewindow::setcamerainterpolationtime/mode will most likely allow you to adjust the speed of interpolation (indirectly by modifying the time).

Rotating the scene-camera would be a nice addition if you feel like some making some source modifications, like here. I know you didn't mean rotated in same sense, but might get you started.