sm.creation.exportToTable
Exports creation to blueprint lua table.
Kind: Function
Environments: Game
Game
sm.creation.exportToTable( body, exportTransforms, forceDynamic )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
body |
Body | Any body in the creation. |
exportTransforms (optional) |
boolean | Export the current world transform of bodies. Defaults to false. |
forceDynamic (optional) |
boolean | Force export to dynamic bodies. Defaults to false. |
Returns:
| Type | Description |
|---|---|
| table | The blueprint lua table. |