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

What is .Unit in a script I found from developer.roblox.com?

Asked by 3 years ago

What is .Unit in a script I found from developer.roblox.com?

local direction = attEnd.WorldPosition - attStart.WorldPosition
print(direction)
print(direction.Unit)
I really want to know what .Unit is.
The output:
direction: -16.6207104, 0.000106573105, 0
direction.Unit:  -1, 6.4120668e-06, 0

1 answer

Log in to vote
0
Answered by 3 years ago

Spjureeedd have answered the question thank you so much

Ad

Answer this question