applyTorque

expect fun applyTorque(torque: Float, wake: Boolean = true)

Apply a torque.

Parameters

torque

The torque about the z-axis (usually in N*m)

wake

Whether to wake up the body if sleeping