forked from BilalY/Rasagar
741 B
741 B
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. |