- Joined
- Jun 12, 2016
- Messages
- 74
This will be a short tutorial, made out of testing the system myself after a lot of frustration.
The reason of why this is not an intuitive concept is because it's impossible to make a angle out of two points matematicaly speaking. So for such a long time I had to guess what the system reads when it says angles between points.
So this are some facts about how the system works
Angle Between Points:
The Point A is going to be the referential. Be careful with function range (-180 , 180]. The functions "facing angle" and "random angle" they both range [0 , 360).
Thats it.
This is not much of a tutorial, the thing is that frustrated me a lot on a simple bug in my map because I found that the function range is not that intuitive. Than I felt that it should be posted so it may help someone on the future that may struggling with it.
The reason of why this is not an intuitive concept is because it's impossible to make a angle out of two points matematicaly speaking. So for such a long time I had to guess what the system reads when it says angles between points.
So this are some facts about how the system works
Angle Between Points:
- The unity is degrees.
- 0° is facing east out of the referential.
- The system function' range goes from (-180 , 180].
The Point A is going to be the referential. Be careful with function range (-180 , 180]. The functions "facing angle" and "random angle" they both range [0 , 360).
Thats it.
This is not much of a tutorial, the thing is that frustrated me a lot on a simple bug in my map because I found that the function range is not that intuitive. Than I felt that it should be posted so it may help someone on the future that may struggling with it.
Last edited: