Direction

<Vector2> OffArrow:Direction(<Vector3> Destination, <Vector3> Origin)

Calculates the direction of where the arrow should point to.

Parameters

Name
Description
Type
Default
Optional

Destination

The target position

Vector3

N/A

Origin

Where the arrow is "from"

Vector3

Return

<Vector2> direction

Last updated