Got it
Seems like you can only setup the properties for the materials, not for the entities itself.
Take a look into the function NewtonSetupSystem() in newtonScript2.wdl! Here you can setup the interactivity for the materials. Little example:
Code:
// set material interaction propeteries (ground_material, wood_material)
NewtonMaterialSetFriction (ground_material, wood_material, 1.0, 0.7);
NewtonMaterialSetElasticity (ground_material, wood_material, 0.1);
NewtonMaterialSetDepthRecover (ground_material, wood_material, 0.2);
Here you can set the behavior of the wood material when it hits the ground. E.g. change NewtonMaterialSetElasticity to 0.9 and your wood entity will jump like hell when it hits the ground
Mmhhh.. I should write a tutorial about this
edit* I'm getting deeper into it. You can easily great your own material and combine it with the others. This way you can have hundred of entities with separat materials.
Really nice plugin