Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

How do I use Vector3?

Asked by 9 years ago

help. I don't know how to use it and the scripting forum is making fun of me!

1 answer

Log in to vote
0
Answered by 9 years ago

Vector3 is the 3d positioning value used in ROBLOX. Unlike UDim2, Vector3 is of course, already explained is three-dimensional.

If you're unfamiliar with the Vector3 format, think of it like this:

Vector3.new(X,Y,Z)

It's quite simple to understand, if you forget just remember the pattern of the last 3 letters of the alphabet, 'X, Y, Z'.

There are positive integers and negative integers involved with Vector3, so you will be able to move your parts anywhere on a 3d scale, the 3 in Vector3 stands for the 3 values.

An example of Vector3 is:

game.Workspace.Part.Position = Vector3.new(0,0,0)

Read more about Vector3 here: http://wiki.roblox.com/index.php?title=Vector3

0
thank you it makes sense now <3 freezysniper 0 — 9y
0
no problem freezy GullibleChapV2 155 — 9y
Ad

Answer this question