Vec2.Direction
static Vec2 Direction(Vec2 to, Vec2 from)
Creates a normalized delta vector that points out from an origin point to a target point!
Vec2 to | The target point. |
Vec2 from | And the origin point! |
RETURNS: Vec2 | Direction from one point to another. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!