Description
|
Retrieves the handle of a collision object. The operation of this function depends on the current name suffix settings (see simGetNameSuffix, simSetNameSuffix, and the section on accessing general-type objects). See also simIsHandleValid.
|
C synopsis
|
simInt simGetCollisionHandle(const simChar* collisionObjectName)
|
C parameters |
collisionObjectName: name of the collision object
|
C return value
|
handle of collision object or -1 if operation was not successful
|
Lua synopsis
|
number collisionObjectHandle=simGetCollisionObject(string collisionObjectName)
|
Lua parameters |
Same as C-function
|
Lua return values
|
Same as C-function
|