I have been using Vector3 lately and wondered, what is Vector2 and what does it do?
I am also wondering what Vector2int is…
If anyone could explain or link another forum that would be a great help!
I have been using Vector3 lately and wondered, what is Vector2 and what does it do?
I am also wondering what Vector2int is…
If anyone could explain or link another forum that would be a great help!
Vector2 is just Vector3 without the Z (2d stuff)
Vector2int16 is the same as Vector2 but uses signed 16-bit integers for its components, doesn’t seem to have too much of a use though,
Thanks so much for the reply, so Vector2 is just X and Y values then?
Yes. AnchorPoint, for example.
Oh alright, I get it now. Does it relate to UDim2 or are they completely different?
They are different,
Vector2: 0,0
UDim2: {0,0},{0,0}
(In properties)
Basically UDim2 has scale and offset for X and Y, while Vector2 doesn’t.
Oh right, ok thanks for the help!