Angle To

Calculates the angle needed for a rightward-facing object placed at the observer position to turn so it points toward the target position.

Interface

Inputs

ParameterDetailsPossible Types
Observer

The position from which the angle is measured.

Primary Input

Transform[]
Transform
Vec2[]
Vec2
Target

The position toward which the angle is measured.

Exposed to the Graph by Default

Transform[]
Transform
Vec2[]
Vec2
Radians

Whether the resulting angle should be given in radians instead of degrees.

Default: false

bool[]
bool

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64
f64[]