Skip to main content

Vector angle from North

Get the angle between a vector and the north direction (in degrees, clockwise from north).

Holly Conrad Smith avatar
Written by Holly Conrad Smith
Updated over a week ago

Inputs

Name

Abbreviation

Type

Access

Description

Vector

V

vector

item

The vector to measure. Defaults to [object Object].

Outputs

Name

Abbreviation

Type

Access

Description

Angle

A

number

item

The angle between the vector and north (in degrees).

How to

  1. Connect a vector output from another node to the V input.

    Or, type a vector's coordinates into the text box in the node

  2. The node calculates the vector's angle from true north.

  3. The output is the angle difference from North, in degrees, formatted as a number.

Example

Use vector angle from north to orient or rotate objects based on a vector direction.

A typical use case might be placing GLTFs along a line using divide line node.

In this example, a car GLTF is aligned to the line direction.

Did this answer your question?