19.14.1
hitDist
d = SegmentQueryInfo:hitDist(startvect, stopvect)
Parameter |
Type |
Description |
---|---|---|
self |
in physics.SegmentQueryInfo |
The input SegmentQueryInfo |
startvect |
in physics.Vect |
An end point of the segment |
stopvect |
in physics.Vect |
Other end point of the segment |
d |
out physics.Vect |
Hit distance |
Returns the absolute distance where the segment first hit the Shape.
Introduced in platform.apiLevel = '2.0'