EngineRestoreObjectGroupPhysicalProperties: Difference between revisions
Jump to navigation
Jump to search
TheNormalnij (talk | contribs) (There is no "property" argument) |
Fernando187 (talk | contribs) (Remove obsolete Requirements section) |
||
Line 21: | Line 21: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</section> | </section> | ||
==See Also== | ==See Also== | ||
{{Client_object_functions}} | {{Client_object_functions}} |
Latest revision as of 17:18, 7 November 2024
This function restores all physical properties of given properties group.
Syntax
bool engineRestoreObjectGroupPhysicalProperties ( int groupID )
Required Arguments
- groupID: the id of physical properties group which you wish to restore.
Returns
Returns true if everything went well, error is raised otherwise.
Example
Click to collapse [-]
Clientfunction restorePhysicalGroup(_, group) engineRestoreObjectGroupPhysicalProperties(tonumber(group)) end addCommandHandler ( "restorePhysicalGroup", restorePhysicalGroup ) --restorePhysicalGroup(120)
See Also
- createObject
- getObjectScale
- moveObject
- setObjectScale
- stopObject
- getObjectMass
- getObjectProperty
- setObjectMass
- setObjectProperty