Contents:
Callback to toggle collision polygons.
state – Integer state of the checkbox (0=unchecked, 2=checked)