Creates a new component and occurrence within the component that currently owns this body. This body is moved into the new component and returned. The newly created component can be obtained by using the parentComponent property of the MeshBody object.
"meshBody_var" is a variable referencing a MeshBody object. |
"meshBody_var" is a variable referencing a MeshBody object. |
"meshBody_var" is a variable referencing a MeshBody object. |
| Type | Description |
| MeshBody | Returns the MeshBody in the new component or null in the case the creation failed. |