Previous | Up | Next |
M3createExactModel
Creates an exact collision model for the mesh.Parameters
More precisely, this function builds a particular structure for the polygonal detection of collisions for the topology associated with the mesh.
This collision model is contained directly in the topology.
I M3createExactModel ( S3d _session_ H3d _mesh_ )
Return value
_session_ 3D Session _mesh_ Mesh (with single topology)
0 if successful, otherwise nilRemark
Warning : This function requires the topology to be unique and constant.
Therefore it can only be applied to meshes in MESH_STATIC mode, excluding meshes in MESH_MULTI_TOPO mode, or meshes with shared or deformed vertices.