Skip to content

Direction Towards

Description

The unit-length direction vector from one position to another. Direction Towards(A,B) is equivalent to Normalize(B - A)

Snippet

Direction Towards(Vector(0, 0, 0), Vector(0, 0, 0));

Properties

Returns: Direction Parameters: ==Start Pos==, ==End Pos==

==Start Pos== Type: Position, Default: Vector The position from which the resulting direction vector will point.

==End Pos== Type: Position, Default: Vector The position to which the resulting direction vector will point.

Type to search…

↑↓ navigate↵ selectEsc close