Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I use Vector3?

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

1 answer

✓ Accepted answer

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

2 comments

0

thank you it makes sense now <3

0

no problem freezy

This discussion is preserved as it was. New answers, comments, and votes are closed.