Custom Camera Help
by Dwayne Brown · in Torque Game Engine · 02/05/2008 (12:25 pm) · 5 replies
Hi community. I wanted to know if anyone has a link to documentation for a custom camera for Torque3D. I wanted my camera to zoom in to my hero or party when he encounters an enemy. I would love to avoid using C++ to edit the engine and would like to stick to scripting but if I have to I will edit the C++ code. I have heard of people using mostly 99% for scripting but could not find any resources. If you have any information you are willing to share please post. I would greatly appreciate it.
-Thanks in advance.
-Thanks in advance.
About the author
#2
02/12/2008 (10:28 am)
I am working on that tutorial for the Advanced Camera option and ran into a compile error when building. I am getting errors about an illegal duplicate overloaded method for ConsoleMethod. I am trying to add the ConsoleMethod for setCameraObject after the setConsoleObject. It says that both overloaded ConsoleMethods are exact accepting the same arguments. Has anyone encountered this and what have you done to correct the issue?
#3
02/14/2008 (2:37 pm)
I use the tracking camera - it works very well too.
#4
ConsoleMethod for setCameraObject and setConsoleObject is getting a compile error of an illegal overloaded method. When I looked at the code I can see why because both methods accept the same arguments so I am not understanding the first part of the tutorial. I typed in the setCameraObject below the method of setConsoleObject. Is that what I was suppose to do? Thanks for your reply.
02/14/2008 (2:49 pm)
Great but do you know what I am doing wrong to get compile errors. I beleive it is having problems with the below method.ConsoleMethod for setCameraObject and setConsoleObject is getting a compile error of an illegal overloaded method. When I looked at the code I can see why because both methods accept the same arguments so I am not understanding the first part of the tutorial. I typed in the setCameraObject below the method of setConsoleObject. Is that what I was suppose to do? Thanks for your reply.
#5
Also, read the ENTIRE advanced camera resource including EVERY post to it before adding it.
Don't try to implement Entropy's code unless you really need it.
You need to look around before adding things into different areas of the engine, if it is already in there or if something that closely resembles it is there you probably don't need to make that change.
02/17/2008 (3:39 am)
Some of the code is already added to the engine. If it says it is duplicate, take it out.Also, read the ENTIRE advanced camera resource including EVERY post to it before adding it.
Don't try to implement Entropy's code unless you really need it.
You need to look around before adding things into different areas of the engine, if it is already in there or if something that closely resembles it is there you probably don't need to make that change.
Torque Owner Dwayne Brown
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5471