SetObjectMeshCollisionMode
Description
Sets collision detection on or off for a single mesh in a object.
Definition
SetObjectMeshCollisionMode(UINT objID,int meshIndex, mode)
void agk::SetObjectMeshCollisionMode(UINT objID,int meshIndex, int mode)
Parameters
- objID - The ID of the object to modify.
- meshIndex - The index of the mesh to change collison mode, first mesh is at index 1.
- mode - 0 to turn collision off, 1 to turn it on.