Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.43

Description

Description:

Checks whether an object is currently touching another object (only objects that would lead to a "collision" are checked - for example, a tree would be considered, but not bushes).

Note: Only works for PhysX objects and only in the RTE.

Syntax

Syntax:isTouchingObject object
Parameters:
  • object: Object - Object to check.
Return Value:Boolean - Returns true, if the object is currently touching something.

Examples

Examples:
_touched = isTouchingObject myCar 

Additional Information

See also: 
Multiplayer: 
Problems: 

Notes