Calculates the angle swept between two vec2s.
The angle ranges from -180° to 180° (or -π to π radians) and its sign gives the sweep direction from the "Direction From" input to the "Direction To" input: positive for clockwise, negative for counterclockwise, as drawn in the viewport and matching the direction convention of the Transform node's rotation.
Interface
Inputs
| Parameter | Details | Possible Types |
|---|---|---|
| Direction From | The direction the angle is measured from. Primary Input | Vec2[]Vec2 |
| Direction To | The direction the angle is measured to. Default: | Vec2[]Vec2 |
| Radians | Whether the resulting angle should be given in radians instead of degrees. Default: | bool[]bool |
Outputs
| Product | Details | Possible Types |
|---|---|---|
| Result | The value produced by the node operation. Primary Output | f64f64[] |