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.
A_FireCustomMissile transfer/preserve pitch
Moderator: GZDoom Developers
- Keralastic
- Posts: 18
- Joined: Fri Jul 06, 2012 9:17 pm
Re: A_FireCustomMissile transfer/preserve pitch
I agree, I think it's about time A_FireCustomMissile got the pitch flag since CustomMissile has it.