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 | object | Phaser.Geom.Point |
The point to get the shortest distance to. |
The shortest distance from the line to the point.