self = physics.Body:applyForce(forceVect, rOffset)
Parameter |
Type |
Description |
---|---|---|
self |
in physics.Body |
The input Body |
forceVect |
in physics.Vect |
A force vector |
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 force vector on self at a relative offset from the center of gravity.
Introduced in platform.apiLevel = '2.0'