Set collision masks and types for each physics object