Stag 0 Posted February 9, 2004 I'm building an addon with a turret. All the named sections are correct, the turret rotates and the gun elevates. But whatever I do, the turret only seems to rotate about the point "usti hlavne." I've tried switching axis position, but it always seems to pivot around this point. Has anyone come across this before? How can I get it to pivot around the correct point? Share this post Link to post Share on other sites
BraTTy 0 Posted February 10, 2004 Is this fixed? I really can't say much with the information given.Sounds like improper naming or missing axis,but it would be hard to say without looking at it. Even tho its sideways,I learned about turrets looking at the uh60 chopper with the mgun Share this post Link to post Share on other sites
Stag 0 Posted February 10, 2004 Is this fixed? I really can't say much with the information given.Sounds like improper naming or missing axis,but it would be hard to say without looking at it.Even tho its sideways,I learned about turrets looking at the uh60 chopper with the mgun I was working through Brsseb's tutorial As I was doing it. Everything has been checked and double-checked, and yet the problem persists. Share this post Link to post Share on other sites
Scud 0 Posted February 10, 2004 have you got something sim to this in cpp? class Turret { gunAxis = "osa hlavne"; turretAxis = "osa veze"; gunBeg = "usti hlavne"; gunEnd = "konec hlavne"; soundServo[]={"Vehicles\gun_elevate",0.001000,1.000000}; body = "OtocVez"; gun = "OtocHlaven"; minElev=-3.5; maxElev=+80.5; minTurn=-360; maxTurn=+360; }; Share this post Link to post Share on other sites
Stag 0 Posted February 10, 2004 Configs are not my strong point; what I have is a modified version of Brsseb's Boat Config. The lines which seem to do the same job as the code you posted are: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class TurretBase { gunAxis="osa hlavne"; turretAxis="osa veze"; gunBeg="usti hlavne"; gunEnd="konec hlavne"; soundServo[]={"Vehicles\gun_elevate",0.001000,1.000000}; minElev=-5; maxElev=90; minTurn=-360; maxTurn=360; body="OtocVez"; gun="OtocHlaven"; }; Share this post Link to post Share on other sites
Stag 0 Posted February 10, 2004 SORTED! Thanks for putting me on track, Scud. Â Share this post Link to post Share on other sites