PHY MAKE RIGID BODY STATIC TERRAIN Make a new rigid body and simulate it as a terrain object.
Syntax
    PHY MAKE RIGID BODY STATIC TERRAIN ID
    PHY MAKE RIGID BODY STATIC TERRAIN ID,material
    PHY MAKE RIGID BODY STATIC TERRAIN ID, file$
    PHY MAKE RIGID BODY STATIC TERRAIN ID, file$, material
Parameters
    ID
Integer identification number of the 3D object that you want to be represented by a static terrain 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, by specifying a material you can have further control over how the object will react with other objects in regard to properties such as its restitution
Returns
Description
Instead of simulating the rigid body as a simplistic shape such as a box like with the other creation commands this command will instead use the polygons from the specified object. This is useful when much more precision is required for the rigid body. Take the example of a model for a section of ground with many bumps on it and having this inserted into the simulation. When representing this object as a box within the simulation you will not get objects interacting with the bumps – instead objects will interact with a hidden box surrounding this model. In cases like this it may be more appropriate to use a rigid body terrain. The simulation will now respond directly to all of the polygons on the object and in this example objects would directly interact with all of the bumps on the ground model. While it is possible to represent a terrain as a rigid body mesh the preferred method is to create a static rigid body terrain which is more suited to the task. As the object will be represented by a static rigid body terrain it will remain immoveable and will not be affected by forces such as gravity etc. Note that dynamic meshes are not supported. After creating a rigid body terrain it will be entered into the simulation for processing. The physics simulation will then take over control of the object that was attached to the rigid body terrain. You will not be able to move this object using commands such as position object.
Example Code

    No example code is provided for this command