Game Development Community

Camera orientation

by Daniel Roden · in Torque Game Engine · 09/03/2006 (6:13 pm) · 2 replies

I created a model with a joint for the camera well above the model. this gives me part of the effect i want but i want the camera pointed down. is this something i can do in milkshape (how) or something in code (where do i start?)
Thanks,

Dan

#1
09/03/2006 (6:35 pm)
Don't think you can do anything on the model to affect beyond that without touching code. Try looking at Player::getCameraParameters in player.cc . You could mess with the rotation value there, or maybe just inherit the rotation from the node you setup, so uses the angle as well. But that is math stuff, so don't ask me how.
#2
09/03/2006 (6:51 pm)
Thanks ill mess around in there. recompiling sucks tho. 2 minutes + on a 2ghz pentium M with 2 GB of ram :(