nvec = physics.SegmentShape:normal()
Parameter |
Type |
Description |
---|---|---|
self |
in physics.SegmentShape |
The input SegmentShape |
nvec |
out physics.Vect |
The unit normal vector of the segment |
Returns the computed unit normal vector to the segment.
Introduced in platform.apiLevel = '2.0'