wvec = physics.Body:local2World(lvec)
|
Parameter |
Type |
Description |
|---|---|---|
|
self |
in physics.Body |
The input Body |
|
lvec |
in physics.Vect |
A vector relative to the position of the Body |
|
wvec |
out physics.Vect |
A vector in world coordinates |
Converts lvec from body-relative coordinates to world coordinates. Returns the converted vector.
Introduced in platform.apiLevel = '2.0'