19.4.6
applyImpulse
self = physics.Body:applyImpulse(impulseVect, rOffset)
Parameter |
Type |
Description |
---|---|---|
self |
in physics.Body |
The input Body |
impulseVect |
in physics.Vect |
Impulse force on the Body |
rOset |
in physics.Vect |
Vector offset of the force relative to the Body |
self |
out physics.Body |
The input Body is returned as the output |
Apply the impulse vector on self at a relative offset from the center of gravity.
Introduced in platform.apiLevel = '2.0'