Game Development Community

Advanced Camera resource updated with orbit camera

by Thomas \"Man of Ice\" Lund · in Torque Game Engine · 06/23/2004 (2:35 pm) · 2 replies

A little shameless plug/announcement for all that do not get notifications from my excellent resource when its updated ;-)

Stephen Zepp wrote a wonderful RTS style orbit camera, that can be rotated/tilted/zoomed just like you're used to from your favorite Command&Conquer clone.

Its now added as a mode to the advanced camera available here:

www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5471

I'll soon create a little movie showing the new mode and add to the resource.

#1
06/24/2004 (5:00 pm)
Small user feedback update: The mappings between server commands and class input suggest that the implementation is "backwards":

You should probably map your version of:
function serverCmdMouseBounceRight(%client)
{
	%client.advCamera.cameraPlayerInput(2);
}
to
function serverCmdMouseBounceRight(%client)
{
	%client.advCamera.cameraPlayerInput(4);
}

and

function serverCmdMouseBounceLeft(%client)
{
	%client.advCamera.cameraPlayerInput(4);
}

to

function serverCmdMouseBounceLeft(%client)
{
	%client.advCamera.cameraPlayerInput(2);
}


Our testing staff has given input that this is much more intuitive for the user.
#2
08/03/2005 (11:30 am)
Thanks for this.

I've been looking at the code, and have been thinking of adding a rotational key control for the 3rd POV camera. So glad I did a search of the forums before posting an info query.