applyForceToCenter

expect fun applyForceToCenter(force: Vec2, wake: Boolean = true)

Apply a force to the center of mass.

Parameters

force

The world force vector (usually in Newtons)

wake

Whether to wake up the body if sleeping