A_FireCustomMissile transfer/preserve pitch

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: A_FireCustomMissile transfer/preserve pitch

Re: A_FireCustomMissile transfer/preserve pitch

by MG_Man » Mon Jun 16, 2014 5:28 pm

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

A_FireCustomMissile transfer/preserve pitch

by Keralastic » Mon Jun 16, 2014 5:17 pm

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.

Top