Custom systems for Rigid bodies, grains simulation and switch for glass part switching before fracturing (H17)