Coordinate: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer Trying something, we need LOTS more interlinking and definitions of what appear to be simple things. The more information to start and search for, the more learning. |
m Text replacement - "</code>" to "</SyntaxHighlight>" |
||
Line 5: | Line 5: | ||
You can see this by putting into the [[Command Bar]] | You can see this by putting into the [[Command Bar]] | ||
<code>print(Vector3.new(1, 2, 3))</ | <code>print(Vector3.new(1, 2, 3))</SyntaxHighlight> | ||
This results in: | This results in: | ||
<code>1 2 3</ | <code>1 2 3</SyntaxHighlight> | ||
Which is the Vector of the coordinates. | Which is the Vector of the coordinates. |
Revision as of 04:10, 27 April 2023
A Coordinate is a location on a graph, denoted by a point. In order to describe where something is in Roblox you need to have 3 coordinates, one for the X axis, one for the Y axis, and one for the Z axis.
These are normally arranged into a Vector, a combination of an X, Y and Z coordinate.
You can see this by putting into the Command Bar
print(Vector3.new(1, 2, 3))</SyntaxHighlight>
This results in:
1 2 3</SyntaxHighlight>
Which is the Vector of the coordinates.
See Also