Category: Objects
Since engine version: 1.0 OC
ObjectDistance
Description
Returns the distance between two objects. If obj is
nil
the distance between the calling object and obj2 is measured.Syntax
int ObjectDistance(object obj2, object obj);
Parameters
- obj2:
- Second object.
- obj:
- [opt] First object. Can be
nil
in local calls.