changed getLinearVelocity from every frame to just when we need it, much more stable and runs smoother