Gets a unit vector tangent at a relative position on the path.
name | type | arguments | description |
---|---|---|---|
t | number |
The relative position on the path, [0..1]. |
|
out | Phaser.Math.Vector2 | <optional> |
A vector to store the result in. |
Vector approximating the tangent line at the point t (delta +/- 0.0001)