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