Calculate the distance between this Vector and the given Vector.
name | type | description |
---|---|---|
v | Phaser.Math.Vector2 | Phaser.Math.Vector3 |
The Vector to calculate the distance to. |
The distance from this Vector to the given Vector.