Game Development Community

Changing the angle of the Camera

by Donald "Yadot" Harris · in Technical Issues · 01/02/2006 (7:22 am) · 3 replies

I am running through the demo in the 3d All in ONE book and I am trying to find out where to go in order to change the angle of the camera. Can somoone point me to it? I was thinking it was going to be in the player.cs file but not sure. Any help would be appreciated it.

#1
01/02/2006 (11:57 am)
I think you might want to skip that for now and continue reading. You'd probably use method setOrbitMode() to control the angle and distance of the camera. I'm not too sure how to do it myself, but this would me my best guess!

camera.setOrbitMode( obj, xform, min-dist, max-dist, cur-dist );
#2
01/02/2006 (1:29 pm)
If your adventurous

try the "Advanced Camera" resource.

I got the code to go into the engine with a little force,
then I am able to pretty much do anything with the camera
I want.


-Surge
#3
01/02/2006 (2:45 pm)
I dont own the SDK to poor :) just trying to do it the free for a bit