Vector From Angle
A vector of length 1 pointing at an angle.
Node id vector/from-angle
The Vector From Angle node outputs the vector of length 1 at angle, in
radians: (cos angle, sin angle).
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| angle | number | 0 |
Outputs
| Name | Type | Notes |
|---|---|---|
| vector | Vec2 |
Behaviour
- Directions on the page. Angle 0 points right. The y axis points down, so angles turn clockwise: π/2 points down, π left and 3π/2 up.
- Default.
angledefaults to 0, giving (1, 0). - Longer vectors. Use Multiply Vector to give it a length.