Files
CartoonRPG/Library/PackageCache/com.unity.visualeffectgraph@2973a8ac1070/Documentation~/Operator-Rotate2D.md
Caleb Sandford deQuincey 02c4b5ab66 Adding in new packages
2025-06-05 22:59:18 +01:00

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. |