KitCat420 / enhancedcombathud-pf1

GNU Affero General Public License v3.0
0 stars 1 forks source link

Use fly speed to calculate movement when actor has elevation #5

Closed KitCat420 closed 4 months ago

KitCat420 commented 4 months ago

Movement tracker currently always uses ground speed, regardless of whether an actor is elevated or not. It's probably a good bet to assume that an actor is flying when they possess some form of elevation, so attempt to use their fly speed and fall back to ground speed if no fly speed is given