normvec = physics.Vect:normalizeSafe()
Parameter |
Type |
Description |
---|---|---|
self |
in physics.Vect |
The input vector |
normvec |
out physics.Vect |
The resulting normalized vector |
Returns a normalized copy of self. Protects against division by zero.
Introduced in platform.apiLevel = '2.0'