isnear = physics.Vect:near(vec, distance)
Parameter |
Type |
Description |
---|---|---|
self |
in physics.Vect |
The input vector |
vec |
in physics.Vect |
The value to multiply by self |
distance |
in number |
The distance from vec |
isnear |
out boolean |
True if self is within distance of vec |
Determines if self is near another vector.
Introduced in platform.apiLevel = '2.0'