Game Development Community

Changing camera to 3rd person

by Kevin Turchik · in Torque Game Engine Advanced · 12/22/2008 (9:05 pm) · 1 replies

I was wondering how I can change my camera to a third person view(TGEA). I am assuming the camera is parented to the player, and that I will have to add an offset to the camera's position, but im not sure how to go about it...
thanks
-Kevin

#1
12/22/2008 (9:37 pm)
You would hit tab, or if you want to do it in script (from the client), you would call this:

ServerConnection.setFirstPerson(!ServerConnection.isFirstPerson());

If you have TGEA w/AFX it's a little different - instead you would call:

commandToServer('ToggleFirstPersonPOV');