Smooth rotate object

Hello, i have just a sprite object.

How to set new angle of object smoothly? for example, i wanna rotate player 180* when step on trap, like a vector or “force”, not instant change rotate position.

.setAngle() and .setRotation() not solve my problem.

I using Matter.js psyhics

Like so?
Phaser.Physics.Matter.Matter.Body.setAngularVelocity(body, velocity)

If you know the ending angle and want your sprite to rotate to that angle, the easiest way to do it is to tween it. That seems to be the solution you are looking for to me.