Yup, ditto on the appointment with the attorney. The court can order pendent lite support (support while the matter is pending) and also decide who stays in the house.
I would also have a chat with your daughter to reassure her that everything will work out. Don't get into who did what to whom. Just say that her dad has his perspective and you have yours, but that you both love her and will take care of her. Tell her it will take some time for everything to work out, but that it will, and that all of you will be OK. You may get a sense from that conversation whether he has been manipulating her, and you can tell your lawyer what she says. The court can also order no discussions about the issues surrounding separation/divorce with her.
Hugs, keep breathing.