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

How can I get the vector2 of a character?

Asked by
akito 0
5 years ago

Hello I need help finding the vector2 of a character. How would I accomplish this?

1 answer

Log in to vote
0
Answered by 5 years ago

if you want this to be for example; a map; you'd get the x and z of the characters position, as there isn't a vector3 to vector2.

here's what a script for getting the vector2 would look like: Vector2.new(workspace[Player].HumanoidRootPart.Position.X, workspace[Player].HumanoidRootPart.Position.Z)

Ad

Answer this question