Hi aIl, <br /><br />I'm trying to make sense of get_linear_velocity(). <br /><br />I'm following the excellent tutorial by Andreas Esau ( ) and when setting up animations based on direction we're using get_linear_velocity(). <br /><br />I'm having issues where the character starts jittering all over the place (playing multi animation) when I assign the get_linear_velocity() conditional to the air_state. It seems to relate to the if get_linear_velocity().y > 0: line, as if I remove that it works fine (except for the jumping and falling animations). I've attached an example of the behavior as an animated gif. Note that the GIF frame rate doesn't show the rapid transitioning but it still gives the idea. GIF located at http://imgur.com/a/7xEAr<br /><br />My question is, how can I tell what the numeric value relates to? I can't find anything that says 0 = down, 1 = up etc. If someone can offer some advice I'd appreciate it. My code is here if this helps http://pastie.org/10936820 ; and line 139 is where the trouble starts.<br /><br />It may not be that but I need to start somewhere. Any help greatly appreciated.<br /><br />Rob