Changing 3rd person camera view
by Brian Wilmeth · in Torque Game Engine · 01/29/2006 (5:40 pm) · 9 replies
How can I change the camera following 3rd person view.. For example, say i want the player to move but the camera not to follow him.... Or change the distance that the camera is from the controlled player, or angle etc.
About the author
#2
01/30/2006 (6:30 am)
That url doesn't work.. is there any other data I can use?
#3
01/30/2006 (6:32 am)
Lol nevermind. the url works fine :).. Thanks
#4
01/30/2006 (8:58 am)
Did they add the new advanced camera functionality to torque 1.5?... I say this because the code that the link tells me to add to the torque engine is already added in most places. However when i try to set up advanced camera it doesn't work out.. I'm kind of lost with this.. I'm not a l33t programmer.
#5
http://www.garagegames.com/mg/forums/result.thread.php?qt=25025
After adding both of those the camera works fine. Or at least I have yet to stumble upon a problem.
01/30/2006 (9:26 am)
A lot of the advanced camera code is in torque 1.4 yes. To get it to work all I did was add the new files to the folder and project and compile. There are a few fixes to iron everything out. I added the fix by Manoel Neto on the 7th of March 05 and added the fix from the 17st of May 05 by the Man of Ice himself from this thread:http://www.garagegames.com/mg/forums/result.thread.php?qt=25025
After adding both of those the camera works fine. Or at least I have yet to stumble upon a problem.
#6
LINK : fatal error LNK1104: cannot open file 'ljpeg_DEBUG.lib'
What does this mean?
01/30/2006 (10:01 am)
I got a linker error this time when compiling the engineLINK : fatal error LNK1104: cannot open file 'ljpeg_DEBUG.lib'
What does this mean?
#7
01/30/2006 (10:36 am)
In short, that means that your compiler needs some stuff from "ljpeg_DEBUG.lib", but couldn't find the file at all. Also, have you gotten the stock TGE 1.4 sourcecode to compile succesfully? Without any engine modifications?
#8
Raasta
02/01/2006 (6:03 am)
Along these lines I had a question as well. Say all I wanted was to use the 'stock' 3rd person camera with 1.4 but wanted to allow the player to zoom in and out using the mouse wheel. Is there some command to adjust the cameraMaxDist dynamically? Or what steps would be needed?Raasta
#9
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3428
Camera Zoom in Torque
Author: Jared Schnelle(Jafa Rykos)
03/03/2006 (6:20 am)
This may help...http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3428
Camera Zoom in Torque
Author: Jared Schnelle(Jafa Rykos)
Torque Owner Jeremy Miller
Default Studio Name
datablock PlayerData(PlayerBody) { renderFirstPerson = false; emap = true; className = Armor; shapeFile = "~/data/shapes/player/player.dts"; [b]cameraMaxDist = 5.5;[/b] < -- Line 532 computeCRC = true; ....But for the other functionality you mentioned, like a stationary camera that follows the player, I'd suggest the [url=http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5471[Advanced Camera[url] resource. Let us know if that helps! : )