I am looking at a rigid body and I can get the material from it. But i am wondering how I can add custom properties to the material for a rigid body?
I have seen the demo where the Material is customized to have scale data per shape. But how would you do that with a simple cube?
Ie each cube has a sound ID that identifies the sound that should be played on a collision for example.
Am using Maya for the tools.
Also in the demo, how was the data added to the mesh?