Top-down camera?
by Chris Piekarz · in Torque Developer Network · 07/22/2008 (9:30 am) · 4 replies
My team and I bought TGE awhile ago and have spent the last few weeks playing with it to get the hang of it. We recently began developing our first game, but have hit something of a roadblock -
We'd like to change the positioning of the camera to be a few meters above the player, looking either straight down on them, or possibly at a slight angle. Either way though, I have no idea where to begin with this. Any advice on the matter would be greatly appreciated.
Also, though it's not quite a concern (yet), we'd like to more or less turn off gravity and disable movement along the up/down axis, and just have the player at a permanent altitude of 10 meters or so off the ground, unable to go up or down from there, only able to move along the one plane. Is this something doable with TGE?
Any resources you can point me to would be great. Thanks a bunch in advance!
We'd like to change the positioning of the camera to be a few meters above the player, looking either straight down on them, or possibly at a slight angle. Either way though, I have no idea where to begin with this. Any advice on the matter would be greatly appreciated.
Also, though it's not quite a concern (yet), we'd like to more or less turn off gravity and disable movement along the up/down axis, and just have the player at a permanent altitude of 10 meters or so off the ground, unable to go up or down from there, only able to move along the one plane. Is this something doable with TGE?
Any resources you can point me to would be great. Thanks a bunch in advance!
#2
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=13617
07/22/2008 (11:10 am)
Thanks a bunch, I'll be looking into that one if I can't get this to work:http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=13617
#3
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5471
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3428
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5474
How did you go with the WoW-esque one? :)
12/23/2008 (8:39 pm)
Hey Chris, we too are looking into adjusting the camera behaviour and have found some other resources, just thought I would link here in case you had no luck with that one:http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5471
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3428
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5474
How did you go with the WoW-esque one? :)
#4
12/24/2008 (11:16 pm)
Void ShapeBase::getCameraTransform(F32* pos,MatrixF* mat) is where you would want to look.
Torque Owner Ben Versaw
If you don't want to use that product you may want to start by reading up on all the documentation relating to the TGE camera you can get your hands on. I haven't modified TGE too much yet so I don't know where exactly to start - just poke around.