PHY MAKE RIGID BODY DYNAMIC CONVEX Create a new dynamic convex rigid body that is attached to an object.
Syntax
    PHY MAKE RIGID BODY DYNAMIC CONVEX ID, file$
    PHY MAKE RIGID BODY DYNAMIC CONVEX ID, file$, material
    PHY MAKE RIGID BODY DYNAMIC CONVEX ID
    PHY MAKE RIGID BODY DYNAMIC CONVEX ID,material
Parameters
    ID
Integer identification number of the 3D object that you want to be represented by a dynamic convex mesh in the simulation
    file$
String this parameter is optional and when used the data from the object will be saved out to the specified file, this can be useful for some complex objects as the computational time may be long, this file can later be loaded in much faster using the command p
    material
Integer this parameter is optional, a material can be specified if required upon creation of a dynamic convex rigid body mesh, by specifying a material you can have further control over how the object will react with other objects in regard to properties such as
Returns
Description
This command will create a representation of the object as a convex mesh within the physics simulation. This mesh is not displayed on screen and is used internally for the simulation as a way of representing your object. As the object will be represented by a dynamic convex rigid body it will be moveable and will be affected by forces such as gravity etc. The physics simulation will take over control of the object that was attached to the convex rigid body object. You will not be able to move this object using commands such as position object. Note that the selected object should be convex and if this is not the case the results may not be desirable. It may be helpful to enable the debugger to ensure that the convex mesh representation in the simulation matches your requirements.
Example Code

    No example code is provided for this command