Linearly interpolate between this Vector and the given Vector.
Interpolates this Vector towards the given Vector.
name | type | arguments | description |
---|---|---|---|
src | Phaser.Types.Math.Vector2Like |
The Vector2 to interpolate towards. |
|
t | number | <optional> |
The interpolation percentage, between 0 and 1. |
This Vector2.