forked from BilalY/Rasagar
17 lines
669 B
Markdown
17 lines
669 B
Markdown
# Rectangular to Polar
|
|
|
|
Menu Path : **Operator > Math > Coordinates**
|
|
|
|
The **Rectangular to Polar** Operator performs a 2D coordinate conversion between a rectangular XY space to a polar (theta/distance) space.
|
|
|
|
## Operator properties
|
|
|
|
| **Input** | **Type** | **Description** |
|
|
| -------------- | -------- | ------------------------ |
|
|
| **Coordinate** | Vector2 | The Input 2D coordinate. |
|
|
|
|
| **Output** | **Type** | **Description** |
|
|
| ------------ | -------- | ---------------------------------- |
|
|
| **theta** | float | The output angle (in radians). |
|
|
| **distance** | float | The output distance to the origin. |
|