Game Development Community

Camera direction

by QuangKim · in Torque Game Engine · 11/09/2005 (1:05 am) · 3 replies

The camera in 3rd mode in racing game seam to be parallel with the groud.
I would like it a little bit toward the ground to make a better speed effect.
After seeked in the code, I found the code for this in
void Vehicle::getCameraTransform(F32* pos,MatrixF* mat)
{
....
getCameraParameters(&min,&max,&offset,&rot);

...
}
the rot is identity, it means that it is the same direction with the car.
now I want it down a little bit and I adjust the rot parameter.
But no mater how I adjust, the result alway very strange.

Do you have any ideal ???

#1
11/09/2005 (10:56 am)
You may want to look at the many implementation modes of the Advanced Camera resource--it does quite a bit of camera positioning and alternate input controls, and hopefully they will give you some insight.
#2
11/09/2005 (1:01 pm)
Stephen Zepp is my pimp!! :-D
#3
11/09/2005 (1:02 pm)
Lol, I did post a couple of copies of those links today, didn't I? :)

You need to do a TDN writeup of the theory behind all the various modes, /nudge.