What it does
Vector3 writes a value: it sets rather than reads. It takes vectorID (an integer), x (a float), y (a float) and z (a float), and returns nothing. vectorID is the id of a Vector object, obtained elsewhere in the Maths family.
Syntax
Vector3(vectorID integer, x float, y float, z float)Parameters
| Name | Type |
|---|---|
| vectorID | integer |
| x | float |
| y | float |
| z | float |
Every form returns
nothing
Example · generated
vector = CreateVector3()Vector3(vector, 100.0, 120.0, 100.0)DO Sync()LOOPCreateVector3 is there to give the call something to act on; Vector3 is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.