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