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

What does Position.Unit do???? Sorry if I'm a brainlet lol

Okay, so i heard about .Unit and i am confused, would anyone mind to explain a short, brief, and easy explanation?

-- Sorry if I'm stupid by the way lol

1 comment

1

.Unit is related to Vector3, a unit vector is a vector that has a direction and a length of 1 unit. I don't know that much about .Unit but i hope that info helps you :)

3 answers

✓ Accepted answer

.Unit is related to Vector3, a unit vector is a vector that has a direction and a length of 1 unit. I don't know that much about .Unit but i hope that info helps you :)

Vector3.Unit returns a normalized version of that Vector, basically it's the same Vector with a magnitude of 1. So let's say you multiply the normalized Vector by the Magnitude of your original Vector, you would end up getting back the original Vector.

I have never heard of this I think you are meant to use .Value instead

.Value 

Example

script.Parent.Baseplate.Position.Value = Vector3.new(0,0,0)

1 comment

1

BRUH

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