Create a ship with rotation and accelerate and it should slow down if no key is pressed (damping).
Damping / Drag with rotation works:
player = this.physics.add.image(200, 300, 'player')
player.setDamping(true)
player.setAngularDrag(100)
player.setDrag(0.5, 0.5)
// rotate
player.setAngularVelocity(100)
// and it slows down
But slow down with acceleration not:
// accelerate with
player.body.acceleration.setToPolar(player.rotation, 100)
// or
this.physics.velocityFromRotation(player.rotation, 100, player.body.acceleration)
the ship moves without slowing down.
Did somebody has an example for this?