Get the shortest distance from a Line to the given Point.
name | type | description |
---|---|---|
line | Phaser.Geom.Line |
The line to get the distance from. |
point | Phaser.Types.Math.Vector2Like |
The point to get the shortest distance to. |
The shortest distance from the line to the point, or false
.