Vehicle Turret won't aim
by David Bedford · in Torque Game Engine · 07/09/2009 (3:48 pm) · 0 replies
I am using TGE 1.5.2
I have the 1.2 turrets implemented.
http://www.garagegames.com/community/resource/view/5345/
I also have the torque vehicle resource here implemented.
http://www.garagegames.com/community/resources/view/3925
I also have the Bravetree tankpack in.
And now I am trying to get the MoveManager improvements for mounting turrets to vehicles in.
http://www.garagegames.com/community/resources/view/9075
The problem is as soon as the change the move->pitch and move->yaw to move->tpitch and move->tyaw I can't get the turret to aim anymore whether I have it mounted onto a vehicle or not. But it will still shoot. If I change it back to move->pitch and move->yaw I can aim the turrets, but then if I am in a vehicle the vehicle turns when I turn the turret, and if I move the keyboard to turn my vehicle then my turret also turns.
My camera also is not following the muzzle on the turret.
Any ideas as to what might be wrong? I've been trying to get this figured out for a couple days now and can't seem to make any progress.
I have the 1.2 turrets implemented.
http://www.garagegames.com/community/resource/view/5345/
I also have the torque vehicle resource here implemented.
http://www.garagegames.com/community/resources/view/3925
I also have the Bravetree tankpack in.
And now I am trying to get the MoveManager improvements for mounting turrets to vehicles in.
http://www.garagegames.com/community/resources/view/9075
The problem is as soon as the change the move->pitch and move->yaw to move->tpitch and move->tyaw I can't get the turret to aim anymore whether I have it mounted onto a vehicle or not. But it will still shoot. If I change it back to move->pitch and move->yaw I can aim the turrets, but then if I am in a vehicle the vehicle turns when I turn the turret, and if I move the keyboard to turn my vehicle then my turret also turns.
My camera also is not following the muzzle on the turret.
Any ideas as to what might be wrong? I've been trying to get this figured out for a couple days now and can't seem to make any progress.