Enqueue Impulse
data class EnqueueImpulse(val key: Any, val impulseX: Float, val impulseY: Float, val wake: Boolean = true) : PhysicsCommand
Applies a linear impulse to a body.
Parameters
key
Body key used in Modifier.physicsBody(key = ...).
impulse X
X component of impulse (runtime-defined units).
impulse Y
Y component of impulse (runtime-defined units).
wake
Whether the backend should wake the body if supported.