Gets the slope of the line as a unit vector.
name | type | arguments | description |
---|---|---|---|
t | number | <optional> |
The relative position on the line, [0..1]. |
out | Phaser.Math.Vector2 | <optional> |
A vector to store the result in. |
The tangent vector.