Need help on Vector3:Angle()

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Ask question

  2. What is the issue? No issue

  3. What solutions have you tried so far? No

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

local angle = Vector3.xAxis:Angle(flatDirection,Vector3.yAxis)

What does the 2nd argument of :Angle() function do, the docs just tell “determines a sign of the angle”?

1 Like

Determines whether the angle between the Vector3 and the axis is negative or positive

1 Like

If it is not provided, it gives the smallest angle between two vectors. If an axis is provided, it gives a signed angle because its possible to differentiate between an inside and outside angle around the given axis

2 Likes

This would look like this?