Rotate 2D
菜单路径:Operator > Math > Vector
Rotate 2D 运算符围绕给定中心执行输入点和给定角度的二维旋转。
运算符属性
输入 | 类型 | 描述 |
---|---|---|
Position | Vector2 | 要旋转的点。 |
Rotation Center | Vector2 | 要围绕其旋转 Position 的点。 |
Angle | float | 要使用的旋转角度,以弧度为单位。 |
输出 | 类型 | 描述 |
---|---|---|
Position | Vector2 | 旋转后的位置。 |
菜单路径:Operator > Math > Vector
Rotate 2D 运算符围绕给定中心执行输入点和给定角度的二维旋转。
输入 | 类型 | 描述 |
---|---|---|
Position | Vector2 | 要旋转的点。 |
Rotation Center | Vector2 | 要围绕其旋转 Position 的点。 |
Angle | float | 要使用的旋转角度,以弧度为单位。 |
输出 | 类型 | 描述 |
---|---|---|
Position | Vector2 | 旋转后的位置。 |