Game Development Community

Turret CameraFOV Problem

by Diego Castaneda · in Torque Game Engine · 03/18/2011 (12:30 am) · 1 replies

Hi everybody!! i have a question that concerns cameraFov and the Turret Class that i cant solve.

I am using the turret class on torque 3D beta 3, and the turret works fine.. the problem happens for me, when the player is mount on the turret, because it dont takes the "cameraDefaultFov" that i set (in this case i need to use "140.0"), i set this value on the player.cs that is located on the datablocks folder.. when the player is unmount it takes the cameraFov value that i set before on the player.cs.... so i dont know why is this happening? the cameraFov change when the player is mount on the turret again. Its supose to be the same camerafov when it is unmount and when it is mount on the turret... if i previously set the value on the player.cs, i hope anybody could help me or guide me.

Thanks in advance..

#1
03/23/2011 (9:33 pm)
HI!! i could notice, when the player is mount the CameraFOV value is always "120" when the player is unmount, it takes the value that i set in the player.cs, but again i have to mount the player to the turret for takes that value changes, but again it takes only until 120, values higher than that are not taken, values lower than 120 are taken....

Anyone help... anybody??? I hope you could understands whats my problem... or what i am doing wrong?..

Help please :)