Missile velocity


I wrote up some code to predict whether an enemy missile is dangerous, and when it will hit, etc. but I assumed that missiles had a velocity member, which it seems they don’t. I could compute it myself based on rate of change of position, but cycles are at a premium. Is there a built in way to get the velocity of a missile?


Hmm, it’s just missile.velocity. It’s possible that some missiles don’t have the API configured properly; I know Shells have it (at least they do as of yesterday). Which missiles weren’t working?


Spears. I’ll give it another try, maybe I just goofed somehow.


I just realized I hadn’t hooked up the APIs properly to most of the missiles. I think I got them all now.