Turrets and Vehicles... Moar Fun...
by Robert Fritzen · in Torque Game Engine Advanced · 08/08/2011 (2:40 pm) · 4 replies
So, I mentioned in my previous blog that this was on my "to-do" list, to fix up the vehicles with mounted turrets that are still having some choppy movement problems.
So, I went hunting in the forums to try to find a solution, and I stumbled on a very peculiar thread about a port of another pack to T3D:
http://www.garagegames.com/community/forums/viewthread/126020 (You need T3D access, which I'm assuming you have if you're reading here).
Do note, I'm not trying to copy the tankpack's "tankVehicle", just trying to fix the turrets mounting onto vehicles and controlling them both at the same time.
I'm wondering how this could be of use to me, if any at all. I'm hoping to get this issue fixed soon as it's been plaguing me for quite some time.
So, I went hunting in the forums to try to find a solution, and I stumbled on a very peculiar thread about a port of another pack to T3D:
http://www.garagegames.com/community/forums/viewthread/126020 (You need T3D access, which I'm assuming you have if you're reading here).
Do note, I'm not trying to copy the tankpack's "tankVehicle", just trying to fix the turrets mounting onto vehicles and controlling them both at the same time.
I'm wondering how this could be of use to me, if any at all. I'm hoping to get this issue fixed soon as it's been plaguing me for quite some time.
About the author
Illinois Grad. Retired T3D Developer / Pack Dev.
#2
Maybe I should explain it better :
TankPack to proper vehicle inherited tankvehicle...
Hopefully that will explain what I was doing, and I can't just
post any of the original TankPack code. This does allow adjustments
to the turret movement which gets rid of any choppyness :)
I thought I had explained the track I was headed down better...
And this can be done for both versions of the engines, as the original
tankvehicle creates its own class and is not directly connected to
the vehicle class out of the box.
I posted the changes I did to the Base Vehicle class which can be of
use in controlling a turret for any vehicle.
08/09/2011 (12:06 pm)
I like my thread being called "Peculiar" lolMaybe I should explain it better :
TankPack to proper vehicle inherited tankvehicle...
Hopefully that will explain what I was doing, and I can't just
post any of the original TankPack code. This does allow adjustments
to the turret movement which gets rid of any choppyness :)
I thought I had explained the track I was headed down better...
And this can be done for both versions of the engines, as the original
tankvehicle creates its own class and is not directly connected to
the vehicle class out of the box.
I posted the changes I did to the Base Vehicle class which can be of
use in controlling a turret for any vehicle.
#3
08/09/2011 (1:35 pm)
Alright, I'll take a peek at that later, thanks.
#4
I used it to control the turret and stuck it in the base vehcile class
allowing it to be used to control any vehicle that inherets..
www.garagegames.com/community/blogs/view/17759
THat resource gave me the values I needed in a networked way to
deal with it rotating/elevating while controlling the vehicle with
the [A W S D] keys.
08/10/2011 (9:07 am)
for just controlling the turret, check this resource out..I used it to control the turret and stuck it in the base vehcile class
allowing it to be used to control any vehicle that inherets..
www.garagegames.com/community/blogs/view/17759
THat resource gave me the values I needed in a networked way to
deal with it rotating/elevating while controlling the vehicle with
the [A W S D] keys.
Torque 3D Owner Justin Schroeder
I used to be one of these people. =)
Edit: Thought we were talking about the forums. Changed my response to reflect this.