Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | X |
Angle to point in radians, use obj.radToDeg() to convert into Euler rotation format.
Parameters:
- x
- A float value
- y
- A float value
- x2
- A float value
- y2
- A float value
returns a Float (decimal number) value
Example:
1 | obj.angToPoint(x, y, x2, y2) |