Game Development Community

2D" Camera?

by Niall · in Torque Game Engine · 08/19/2005 (2:29 am) · 3 replies

Hey guys!
I've checked out some of the camera resources but so far I haven't been able to find exactly what I'm looking for. Most seems to involve loadsa engine modifications and incorporate feature I don't need/not looking for.

I'm looking for a "2D" view in TGE - where the camera shows the players side and I'll disable the player's Z axis movement. The camera will need to follow the player too.
Basically like a Mario 2D view but with a 3d engine I'd also be expected to be able to zoom closer to the character when required and maybe have a slight pitch too.
Has anything like this already been done? If so, please point me in the right direction.

Thanks.
Niall.

#1
08/19/2005 (2:47 am)
Couldn't you just create the 3rd person camera node higher up, when creating the player mesh?

Of course the other option would be to maybe/somehow (I haven't explored cameras yet) find out the x,y,z of the camera node, and translate it along the vertical axis. with some sort of constraint on tilting and circling around the player.
#2
08/19/2005 (3:08 am)
Roger: I see what you mean - just raise the 3rd person viewport, zoom out and maybe rotate it to the side of the character for the "2D" view? How would I go about doing this..?

That idea might just work...if anyone else could shed some light on this, it'd be appreciated.
#3
03/24/2008 (11:44 am)
Neil: i know this post is real old now. But i'm trying to do the same thing. Did you have any luck with this?