Syncing animation timing (with physics)

I have a jump animation that I need to sync with physics forces/jme jump method, jump animation has no real upward motion, just lift and a drop pose what is the best to approach this so that the timing doesn't stray when taking forward sideways velocity into account (psuedo code would be appreciated)



thanks in advance

I would suggest choosing animation by movement direction and thus split the animation into parts. So you would have one for 'take off', one for 'upwards', probably 'turn' and 'downwards' plus 'landing'. Then you can trigger these by movement direction and velocity.

Shouldn't be that complicated, is it?

Ah thanks thought so…learning by the seat of my pant I am. :wink: