Rotating turrets
by Matt Kenley · in Torque X 2D · 11/07/2007 (11:19 am) · 1 replies
I am currently trying to get a rotating turret working and I am wondering how anyone else who has done this has dealt with it. I have the turret point towards the mouse and mounted on the player, but my rotation is not working when mounted. I recently posted another post like this but no one seemed to respond there: http://www.garagegames.com/mg/forums/result.thread.php?qt=68876. Any help is appreciated, thanks.
About the author
Torque Owner Joshua A. Thomas
Or set the corresponding checkbox in the mount section of the edit tab in TBX. It's Track Rotation actually.
Proceed to set the rotation in the ProcessTick method as you would expect.
Profit.