Missile velocity


#1

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?


#2

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?


#3

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


#4

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