prepare layers and apply hit collider to player