TPS (Third Person Shooter)
by Armando Fiore · in Torque 3D Professional · 05/13/2013 (3:47 pm) · 4 replies
Hi everyone. The third camera view is really good... but how can I rotate the camera to set it in a "Second Person View" (is the camera "on the shoulder" like Dark Sector, Resident Evil 4/5, Dead Space 1/2/3). Thanks a lot!
#2
If you're not sure how to use the Shape Editor here's some docs on it's functionality:
http://docs.garagegames.com/torque-3d/official/content/documentation/World%20Editor/Editors/ShapeEditor.html
05/14/2013 (8:37 am)
To change the position of the 3rd person camera you'll have to open the player model in the Shape Editor and modify the position of the 'Cam' node (make sure to enable node viewing when in the shape editor, it's the little red crosshair). You can position it wherever you like (make sure to save your changes on the model). It won't be exactly like your mentioned list but it'll be a start, with further work and adding some functions you can get it pretty spot on.If you're not sure how to use the Shape Editor here's some docs on it's functionality:
http://docs.garagegames.com/torque-3d/official/content/documentation/World%20Editor/Editors/ShapeEditor.html
#3
all you write is exact, but must set "Node Properties" > "Transform" > "Object" (not "World").
Thank you!
Oh!
How can I set the third view to default?
Where can I set the zoom camera?
05/14/2013 (12:50 pm)
I did it, but one more thing:all you write is exact, but must set "Node Properties" > "Transform" > "Object" (not "World").
Thank you!
Oh!
How can I set the third view to default?
Where can I set the zoom camera?
#4
In server/scripts/game.cs under onClientEnterGame put: $firstPerson = false; for the default camera to go to the 3rd person view.
I'm not entirely sure on the zoom camera, sorry, there has to be some function to control the default zoom amount however (if you find it post it here!).
05/18/2013 (12:17 am)
Ah yes you're correct on the node transform. :)In server/scripts/game.cs under onClientEnterGame put: $firstPerson = false; for the default camera to go to the 3rd person view.
I'm not entirely sure on the zoom camera, sorry, there has to be some function to control the default zoom amount however (if you find it post it here!).
Duion