triggers for doors + fix on raycasts and optim on category and maskbits