|| this.isfloating
in this statement in CombatantAnimations.cs might work:
if(!this.owner.Component.InAir || (this.owner.Component.HorizontalSpeed == 0 && this.owner.Component.VerticalSpeed == 0))
Not sure what other possibilities there are but I'd rather not have to maintain an animation system just for that :) It looks like you're new here. If you want to get involved, click one of these buttons!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I'm still not entirely sure about custom scripting - is there a way to override scripts like CombatantAnimations.cs without recompiling ork? If not I think maybe I'll use some form of workaround like spawning an invisible floor at the combatant's feet or something so he can collide with it. I'd rather not have to recompile ORK every update for something so minor.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
NullReferenceException: Object reference not set to an instance of an object
I don't know enough about C# or reflection to fix it :(
Changing 'inAir' works! And animations are playing when walking in the air. Sweet :D
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!