HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

camera help

02-25-2006, 02:49 AM#1
Linera
I'm not really good with cameras. I'm looking for a way to adjust the distance from target in/out with up and down arrow keys and adjust angle of attack up/down with left and right keys.
Plus I'd like it to be smooth camera movement

Up arrow:zoom out
down arrow: zoom in
left arrow: move angle of attack up
right arrow: move angle of attack down
02-25-2006, 07:55 AM#2
Ant
I assume you know the arrow key portions of this already.

Angle of attack and Distance are both camera fields and can be adjusted using "Camera - Set Camera field".

If you want it to be limited just use an if-else to make sure the camera moves no more after exceeding a certain zoom limit or angle limit.

If you want the camera to respond to terrain (e.g. the camera can angle down but cannot cut through terrain) then that's something I have no clue about though (but it's possible).