Floating alternative to parallel projection


in our game two space ships can exist in a similar plane. when they pass right through each other instead of two intersecting ships we would like one to float on top of the other. such an effect can be obtained using parallel projections however we would like to avoid the limitations of this method.

Is there a way to use the perspective camera but whenever two objects collide/intersect to have one floating on top of the other keeping sizes and positions thus without actually separating them by hand in the view-direction and rescaling them?