跳到主要内容

calc_distance

计算任意位置或实体到自己的距离

声明

float calc_distance(mixed ob_or_pos)

参数

参数名描述
ob_or_pos位置或实体

返回值

距离

使用方式

返回文档