
It seems like every 8 actors the pitch is not being set properly as per the A_FaceTarget.
And I only noticed this because I was looking closely in the test map

The zscript code looks like this:
Code: Select all
class ZapShot : FastProjectile replaces PlasmaBall
{
Default
{
Radius 4;
Height 8;
Speed 360;
Damage 0;
+FLATSPRITE
+CANNOTPUSH
+NODAMAGETHRUST
-SKYEXPLODE
MissileType "ZapTrail";
MissileHeight 0;
}
States
{
Spawn:
TNT1 A 4;
Loop;
Death:
TNT1 A 1;
Stop;
}
}
class ZapTrail : Actor
{
Default
{
+NOBLOCKMAP
+NOGRAVITY
+SHADOW
+NOTELEPORT
+CANNOTPUSH
+NODAMAGETHRUST
}
States
{
Spawn:
FRAM A 0;
FRAM A 0 A_FaceTarget(0,0);
Stay: //For testing purposes
FRAM A 4 Bright A_SetRoll(random(0,359));
Loop;
//Stop;
}
}
I've also attached the .zip of the scripts and the model in question.