Game Development Community

ROTATE THE TURRET

by Diego Castaneda · in Torque 3D Professional · 09/15/2009 (2:05 am) · 2 replies

hay guys, i already made work the turret resource in T3D, now what i want to do, is to rotate it with the player mounted because i already made it work rotating the turret by editing the turret.rotation variable, but i have to dismount the player to see the changes. i would like to rotate it without having to dismount the player. thank for the help!!!

#1
03/04/2010 (9:22 am)
have you gotten this resource working in T3D1.1a? If so what changes did you make to the turret.cpp file to get it to compile.

I get these errors

Error 25 error C2660: 'SceneObject::getRenderMountTransform' : function does not take 2 arguments
c:\Torque\T3D1.1a GMK1.2.7 AiTurret\Engine\source\T3D\turrets\turret.cpp 568

Error 30 error C2660: 'SceneObject::getRenderMountTransform' : function does not take 2 arguments
c:\Torque\T3D1.1a GMK1.2.7 AiTurret\Engine\source\T3D\turrets\turret.cpp 901

Error 31 error C2660: 'ShapeBase::buildPolyList' : function does not take 3 arguments
c:\Torque\T3D1.1a GMK1.2.7 AiTurret\Engine\source\T3D\turrets\turret.cpp 931
#2
03/04/2010 (10:07 am)
Mounted objects are not networked in T3D.
This is the reason when dismounted they're updated.