Page 1 of 1

A_FireCustomMissile transfer/preserve pitch

Posted: Mon Jun 16, 2014 5:17 pm
by Keralastic
I'd encountered a problem with projectile pitch when using A_FireCustomMissile, if autoaim is enabled, a projectile's pitch is completely ignored when autoaiming vertically. This is a bit of an issue with weapons that fire a group of projectiles with a fixed or random spread pattern.

A_CustomMissile has the CMF_SAVEPITCH flag, which could be used to circumvent this issue, but A_FireCustomMissile does not.

Either a new flag to preserve pitch during vertical autoaim, or a "save pitch" flag would be ideal for solving this problem. As it is now I've resorted to having projectiles that apply an Y/Z velocity as soon as they spawn to imitate angle/pitch without being altered by autoaim.

Re: A_FireCustomMissile transfer/preserve pitch

Posted: Mon Jun 16, 2014 5:28 pm
by MG_Man
I agree, I think it's about time A_FireCustomMissile got the pitch flag since CustomMissile has it.