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 ???
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 ???
About the author
Torque 3D Owner Stephen Zepp