Advanced Camera Function problems
by Louden · in Torque Game Engine · 07/10/2006 (5:18 am) · 0 replies
I have compiled the advcamera .cc and .h succesfully into the project, but when I load the mission, I cannot rotate the camera with the mouse at all, however I can move it with the w,a,s,d keys.
I get the follwing console errors:
test/server/game.cs (117): Unable to find object: '' attempting to call function 'setPlayerObject'
test/server/game.cs (118): Unable to find object: '' attempting to call function 'setThirdPersonMode'
test/server/game.cs (119): Unable to find object: '' attempting to call function 'setFollowTerrainMode'
test/server/game.cs (120): Unable to find object: '' attempting to call function 'setVerticalFreedomMode'
I know this has something to do with not calling those functions prior to setting up the camera in the mission. I do not know how to call those specific functions from the 'Script API' section of the Advanced Camera resource.
Can somebody please help me out with setting up those functions so I can get the advanced camera working.
I get the follwing console errors:
test/server/game.cs (117): Unable to find object: '' attempting to call function 'setPlayerObject'
test/server/game.cs (118): Unable to find object: '' attempting to call function 'setThirdPersonMode'
test/server/game.cs (119): Unable to find object: '' attempting to call function 'setFollowTerrainMode'
test/server/game.cs (120): Unable to find object: '' attempting to call function 'setVerticalFreedomMode'
I know this has something to do with not calling those functions prior to setting up the camera in the mission. I do not know how to call those specific functions from the 'Script API' section of the Advanced Camera resource.
Can somebody please help me out with setting up those functions so I can get the advanced camera working.
About the author