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.
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.
#2
- Brett
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
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.
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
I'm going to add Thomas' camera resource, looks very promising ;)
Stay tuned for results :P
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
Torque Owner Thomas \"Man of Ice\" Lund
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)