applyLinearImpulseToCenter

expect fun applyLinearImpulseToCenter(impulse: Vec2, wake: Boolean = true)

Apply an impulse to the center of mass.

Parameters

impulse

The world impulse vector (usually in Ns or kgm/s)

wake

Whether to wake up the body if sleeping