Game Development Community

Camera Lock Position Help (Beginner Question)

by Ebonixs · in Torque 3D Professional · 02/27/2011 (9:42 pm) · 3 replies

Hi GG,

1. How do I lock my player to 3rd Person View?
2. How do I lock the distance the camera is from the ground (in game)?
3. How do I rotate the camera around the character?

The only resource I've found was "Advance Camera" tutorial which came with source files but the files are (or many be) out date because the Torque3D uses .cpp not .cc (I assume VS2008 not VS2004).

If the advanced camera tutorial is still valid with just a few tweaks to the engine, is there a tutorial or documentation that supports it. Any help will be great. Thanks!

About the author

I am new to the gamining industry and presently, I am more experienced in interface Design and music production.


#1
02/28/2011 (5:09 am)
The advanced camera tutorial in the included docs? It should talk about editing .cs files, which are Torque Script files, not C++ source.

Check out Scripting->Advanced->Camera Modes in the included documentation. It should explain everything.
#2
02/28/2011 (9:09 am)
Thanks a lot! Will do! :)
#3
02/28/2011 (12:39 pm)
No problem! I think there's a tutorial on making an RTS type game right after that article too. I know it's not what your looking for but I think it gives examples on scripting camera modes.
Good luck!