NewtonMaterialSetDefaultCollidable
NewtonMaterialSetDefaultCollidable
Syntax:
void NewtonMaterialSetDefaultCollidable( const NewtonWorld* newtonWorld, int id0, int id1, int state)
Usage
Set the material defined by the interaction between two physics groups to be collidable or non-collidable by default.
Parameters
- const NewtonWorld *newtonWorld - is the pointer to the Newton world
- int id0 - group id0
- int id1 - group id1
- int state - state for this material: 1 = collidable; 0 = non collidable