This method is used to calculate the distance in meters to another entity or to a point in global space.
| Parameter | Description |
|---|---|
| entity | entity to return the distance to. |
| point, (x, y, z) | position in global space to return the distance to |
Returns the distance to the specified entity or point, in meters.