Functions Documentation
View Function Edit Function
Name sysVectorRandom
Syntax (sysVectorRandom origin radius separation criteria)
Argument List vector: The origin of the new vector. Same as the systems origin if Nil.
number: The radius in ls away from the origin.
number: The minimum separation in light-seconds away from any spaceObject that matches 'filter' criteria. If criteria is Nil, then we avoid all objects.
criteria: A filter. See sysFindObject for the list of criteria.
Returns vector: A new random vector that matches the parameters used.
Category vector operator, system
Description (sysVectorRandom) is designed to find a spot that is not near anything.
Example
Comment Useful if you want a random vector with a filter.