IsObjectStatic: Difference between revisions
Jump to navigation
Jump to search
(New page: __NOTOC__ {{Client function}} Use this function to test whether an object is static (not affected by gravity or pushing) or not. ==Syntax== <syntaxhighlight lang="lua"> bool isObjectStatic ( object theOb...) |
m (Changed "DeprecatedWithAlt" template to "Deprecated") |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Client function}} | {{Client function}} | ||
{{Deprecated|isElementFrozen|}} | |||
Use this function to test whether an object is static ( | Use this function to test whether an object is static (unaffected by gravity or pushing) or not. | ||
==Syntax== | ==Syntax== |
Latest revision as of 16:33, 13 February 2015
This function is deprecated. This means that its use is discouraged and that it might not exist in future versions. | |
Please use isElementFrozen instead. |
Use this function to test whether an object is static (unaffected by gravity or pushing) or not.
Syntax
bool isObjectStatic ( object theObject )
Required Arguments
- theObject: the object you want to check.
Returns
Returns true if the specified object is static, false if it is not static or an invalid object was passed.
Example
See Also
- createObject
- getObjectScale
- moveObject
- setObjectScale
- stopObject
- getObjectMass
- getObjectProperty
- setObjectMass
- setObjectProperty