engineSetModelPhysicalPropertiesGroup | Multi Theft Auto: Wiki Skip to content

engineSetModelPhysicalPropertiesGroup

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function sets physical properties group id used by given model.

Note

Physics can only be disabled for newly created objects and buildings

Syntax

engineSetModelPhysicalPropertiesGroup ( )

Code Examples

client
function setID(_, id, group)
engineSetModelPhysicalPropertiesGroup(tonumber(id), tonumber(group))
end
addCommandHandler ( "setID", setID )

See Also

Engine Functions
Engine Elements