I am running matter-js on a node server, and then serializing the objects to send to a client also running matter-js to render the objects. I scoured the documentation and google but couldn't find an answer...how do I get the rotation of a body?
You can use body.angle which is in radians.
Ugh I feel dumb. I was staring at that property for hours last night. Thanks @liabru
Most helpful comment
You can use
body.anglewhich is in radians.