My ex-wife screwed me in the divorce and she and the therapist that setup our 70/30 parenting plan knew it. They were not basing their plans on science, but on "what's best for the kids" mythology that has been perpetuated since my parents got a divorce 49 years ago.
Your kids are learning about life from how you behave, not how you tell them to behave. So behave honorably. Be respectful of your former partner. And love them with all of your heart when they are with you.