To create a level, I make the following calls:
NewtonCreateTreeCollision
NewtonTreeCollisionBeginBuild
then to add triangles
NewtonTreeCollisionAddFace
and finally
NewtonTreeCollisionEndBuild
NewtonCreateBody
NewtonBodySetMaterialGroupID(NewtonBody, LevelID);
NewtonBodySetUserData
NewtonCollisionCalculateAABB
NewtonReleaseCollision
but this sets up the material for the *entire* level. What if some things are made of wood, some metal, some glass.
Do I have to make separate calls to create a new collision tree?