18 lines
741 B
Markdown
18 lines
741 B
Markdown
# Rotate 2D
|
|
|
|
Menu Path : **Operator > Math > Vector**
|
|
|
|
The **Rotate 2D** Operator performs a 2D rotation of an input point and a given angle around a given center.
|
|
|
|
## Operator properties
|
|
|
|
| **Input** | **Type** | **Description** |
|
|
| ------------------- | -------- | ----------------------------------------- |
|
|
| **Position** | Vector2 | The point to rotate. |
|
|
| **Rotation Center** | Vector2 | The point to rotate **Position** around. |
|
|
| **Angle** | float | The angle of rotation to use, in radians. |
|
|
|
|
| **Output** | **Type** | **Description** |
|
|
| ------------ | -------- | --------------------- |
|
|
| **Position** | Vector2 | The rotated position. |
|