def attach_physics_model(self, physics_model=DEFAULT_PHYSICS_MODEL_NAME,
                             shape_name=DEFAULT_SHAPE_NAME, model=None, material=None,
                             shape_type="mesh"):
        if model is None:
            model = { 'type': "rigid",
                      'shape': shape_type,
                      'geometry': shape_name }
        if material:
            model['material'] = material
        self.asset['physicsmodels'][physics_model] = model
Attach a physics model to the JSON representation.
dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/tools/asset2json.py/JsonAsset.attach_physics_model