Description
|
Deprecated. See sim.checkDistance instead.
|
C/C++ synopsis
|
int simGetDistanceHandle(const char* distanceObjectName)
|
C/C++ parameters |
distanceObjectName: name of distance object. If the name is appended by a "@silentError" suffix, then no error will be output if the distance object does not exist.
|
C/C++ return value
|
handle of the distance object or -1 if operation was not successful
|
Lua synopsis
|
int distanceObjectHandle=sim.getDistanceHandle(string distanceObjectName)
|
Lua parameters |
Similar to the C-function counterpart
|
Lua return values
|
Similar to the C-function counterpart
|