Discuss this page on this page's [[sysVectorPolarOffset Talk Page|Talk Page]] === sysVectorPolarOffset === See [[http://xelerus.de/index.php?s=functions&function=276|sysVectorPolarOffset at Xelerus]] ^ Syntax | (sysVectorPolarOffset vector number number) -> vector | ^ Arguments | vector: The origin of the new vector. Same as the systems origin if Nil. | ^ | number: The angle of the vector from 0 to 360. 0 is to the right. | ^ | number: The length of the vector in light seconds. | ^ Returns | vector: A new vector based on the origin and polar coordinates given. | ^ Category | [[system functions|system]], [[vector operator functions|vector operator]] | ^ Description | Makes a vector from the given origin and polar coordinates. | Essential if you want to use vectors of a certain length or direction. === Example === (sysVectorPolarOffset gplayership 0 10) Returns a vector that points to a position 10 light seconds to the right of the player. Return to [[:Functions]] list