Hey,
How can i add an angular force to a body like a circle?
I just found the Body.setAngularVelocity method. But this overrides the velocity. I just want to add an angular force.
body.torque
A Number that specifies the torque (turning force) to apply in the current step. It is zeroed after every Body.update.
or I imagine Matter.Body.applyForce(body, position, force)
Applies a force to a body from a given world-space position, including resulting torque.
@landgreen Thanks! body.torque did the trick.
@landgreen exactly, thanks for helping. A Body.applyTorque function might be a nice addition though.
could you please add this method? Body.applyTorque @liabru thank you.
Most helpful comment
@landgreen exactly, thanks for helping. A
Body.applyTorquefunction might be a nice addition though.