Asteroids remake

Hey everyone, I'm working on a game very similar to asteroids- and I would like to emulate the movement of the ship in the game in my own... I currently have my movement mainly using this

Code:
   var x:Number = Math.sin(_body.GetAngle()) * speed;
   var y:Number = Math.cos(_body.GetAngle()) * -speed;
            
        _direction.Set(x, y);


but I don't get that floating effect when I release my ship generally stops immediately. My density and friction are 1 and 0 respectively and the gravity is 0. Any ideas on how to achieve this affect? Do the algorithms need to be modified?
Try linearDamping.
Thanks! It worked!

Original thread: https://box2d.org/forum/viewtopic.php?t=4887