Quote:
Originally Posted by DarkSentinel";p="
1 My question is what is the best way to fix this little bug??
2 What do MinPhysicalPitch =
GroundUnitPitch =
do?
3 Declaring minpitch and maxpitch in the weapon.ini wont help i think
right, because normaly it handles the the patch between barrel mouth
and target??
|
1. what CodeCat posted of course, and check also that these important bones like the Turret, TurretPitch, WeaponLaunchBone etc. have the default angle set in the 3d model (rotation: x:0 y:0 z:0). You get this default rotation automatically when you place an object in the "Top" view of the 3d program.
2. Afaik MinPhysicalPitch defines how much the TurretPitch bone can pitch down (in degrees). I guess it's more an art tag so that you prevent ugly pitches.
Not really sure what GroundUnitPitch defines exactly...
3. Min and/or MaxPitch in weapon.ini can be used e.g. instead of using the AttackRange tag, as far as they can only shoot against aircrafts in this weapon. Again, you can use it to prevent ugly pitches. Imagine an aircraft is to near to your turret and depending from the 3d model you have it could look ugly if the TurretPitch bone rotates nearly 90 degrees to face the aircraft.
That means the turret only shoots (and the TurretPitch bone only lifts) when units are within default pitch + MaxPitch OR MinPitch + MaxPitch.