Top down friction

How would I got about implementing top-down friction? If I'm not mistake Box2D doesn't have a way to do this does it?
Box2D is a side-view engine as far as I've seen.
You can probably also use it for top-down, but only for collision detection and very few other things...

The only built-in thing Box2D has that can suite your needs is linear damping, but that's far from top-down friction...
You will have to simulate top-down friction yourself. Depending on how accurately you want to simulate it, friction can get pretty complicated, but for top-down games it is frequently sufficient to just subtract some constant value from the (absolute value of the) velocity of the body and another constant value from the (absolute value of the) rotational velocity at every time step, making sure to set them to zero if they are already closer to zero than the value that you're subtracting.
Top-down friction is on the TODO list.

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