Game Development Community

How to remove first person camera?

by assassini · in Torque Game Engine · 12/24/2007 (10:56 am) · 3 replies

How? I want my game third person only.

Thanks for help.

About the author

I've been working with Lua for about five years - mainly scripting content for other games. I picked up C# and C++ about a year ago, but C# seemed a lot nicer of the two. I've recently been learning to use non-deprecated OpenGL on C# with OpenTK.


#1
12/26/2007 (4:45 am)
Somewhere around:
function GameConnection::onClientEnterGame(%this)
{
   ...

add:

%this.setFirstPerson(false);

You may not however be pleased with the default third person camera. In which case you should check out the GameCamera thread or the Advanced Camera resources (seeing as you are an SDK owner).


Edit* Oh yeah: Then remove any key bindings for toggling first person mode (by default this is bound to 'tab' and is located in default.bind.cs)
#2
12/26/2007 (7:07 am)
Thanks. I love you. ;)
#3
12/27/2007 (10:48 pm)
Hey how can I create my own first person view? without eye node

because eye node is in bad position and i only have the DTS model and I can't manipulate it.

Is there a script to move this node using code???

please.....