Game Development Community

Turret code?

by Jeff Wilkinson · in Torque Game Engine · 12/03/2002 (7:51 pm) · 5 replies

is there any code out there to assist in creating a turret for a vehicle?

#1
12/03/2002 (9:00 pm)
Shoot, any turret code would be helpful to me. I would love to see something kill off my player without much interaction, ahh the dreams. ;)
#2
12/04/2002 (5:26 am)
Using the Search->Forums reveals work done by Badguy which can be found here.
#3
12/04/2002 (5:52 am)
Problem with badguys resource is...
Quote:
as it doesnt rotate and doesnt mount on a base yet
... which turn out to be the biggest problems (at least the rotation and rendering independent of the "base" object)

I played with this code a couple of days and never got it to rotate AND render correctly at the same time... :(
That was some months ago, though, maybe someone else has got it working now?
#4
12/04/2002 (5:54 am)
From the looks of that thread there are a few people working on getting turrets up and running, which is a pretty cool. I'm looking into them as well because I'm planning to use a tank model with the turret rotating on it using skeletal animation. But then again, I'll admit to being a bit of a Torque dummy still :)
#5
12/05/2002 (5:37 am)
We have working turrets in Bad Samaritans. Shoot Alex (our coder, look on the project page) a message and I'm sure he'll share his know-how with you.