A_FireCustomMissile transfer/preserve pitch

Moderator: GZDoom Developers

Post Reply
User avatar
Keralastic
Posts: 18
Joined: Fri Jul 06, 2012 9:17 pm

A_FireCustomMissile transfer/preserve pitch

Post 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.
User avatar
MG_Man
Posts: 1401
Joined: Sat Jul 28, 2007 1:24 pm
Contact:

Re: A_FireCustomMissile transfer/preserve pitch

Post by MG_Man »

I agree, I think it's about time A_FireCustomMissile got the pitch flag since CustomMissile has it.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”