Two python scripts to help work in blender:

  • one script, material-generator-for-physics.py, generate a bunch of “ogre-bullet” material, with correct prefixes;
  • second one, material-from-physics.py, applies these materials on selected objects depending on the type of rigidbody attached.

This process must be done before joining all the objects into 1 mesh and exporting it for ogre.

screen-mat-generation

Scripts are available in PE.2.0 assets folder.