Game Development Community

3d person camera like in ThinkTanks

by Funky Diver · in Torque Game Engine · 06/13/2004 (10:42 am) · 4 replies

Greetings,

I need to implement a 3d person view in my project with the player model in view. So far, it worls fine, I enabled the crosshair in 3d person view, so I can aim, but in most cases the player's model blocks what's in front of it.
I guess I need to lift the camera joint point above the model, so I will have the same view as in ThinkTanks. And I'm lost here, no results in digging the forums.
How should I do it (I dont know how camera chooses the mount point on a model to look at)? Shall I modify a model to move a mount point higher in a 3D editor, or can I do it in code/script?

Thank you in advance for any ideas.

#1
06/13/2004 (11:56 pm)
Http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5471

Try to implement this, and you can move your camera from script using a thrid person offset (e.g. 0 units to the side, 3 units behind, 10 up)
#2
06/14/2004 (5:43 am)
Another option (sorry might be in referenced post, but I didn't look) is to move the camera node on the model.

- Brett
#3
06/14/2004 (7:41 am)
Yeah - as Brett says - you can do it in your model too by moving the relevant camera node.

If its a one timer, then its easier to do it in the model itself.

If you want flexibility and control over the camera from script, then implement my advanced camera resource.
#4
06/14/2004 (10:19 am)
@all: thank you, guys!
I'm going to add Thomas' camera resource, looks very promising ;)
Stay tuned for results :P