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 - "</SyntaxHighlight>" to "</syntaxhighlight>" |
||
(3 intermediate revisions by 2 users not shown) | |||
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. |
Latest revision as of 05:41, 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