Game Development Community

Changing Camera Angle?

by Denis Linardic · in Torque Game Engine · 11/28/2005 (1:28 pm) · 3 replies

Hi! I know that camera was beaten to death enough times already but after lot of searching/reading forums I still don't figure out how to do this:

I am working with 1.4 , and I want to increase camera angle.

Right now camera is setup this way:
**************
                        M
                   A 
             C 
OBJECT
**************


And I would like to be set this way:

**************
            M  
         A
      C


OBJECT

**************
I know how to move camera closer or further away from the object, but how can I Increase angle.

I was looking in vehicle.cc in function Vehicle::getCameraTransform but I don't really figure this out.

I tried some of the resources but I really don't need all that improvements, I was hoping on hard coded camera angle, and scripted camera distance (that's allready working).

Any Idea is welcomed :)
Thanks!

Denis.


edit: After posting I realize that this "graphics" looks like crap but I hope you understand what I mean... ;)

#1
11/29/2005 (8:49 am)
Ok I guess that this can't be done easily (or somebody would reply) ;)

Do you think that my best bet is to purchase RTS starter kit (there is similar camera system) altough I don't really need anything except camera.

Or if you know any other easier way??? ... Feel free to say it ;)
#2
11/29/2005 (9:12 am)
this resource might help you out, i know it helped me
#3
11/30/2005 (3:33 am)
I tried that resource before but without success, I will try again maybe with more luck this time ;)

Thanks Matt.