Does infidelity affect separation in the Family Court?

Movies and media often suggest that if your partner is unfaithful you will be entitled to a bigger share of the assets or more access to the children, this is not the case.