Hello,
I’m trying to get the outline of a mesh at a set of planes. What I have currently is working but only for some of the identical meshes!
I have 3 identical detailed meshes of pumps offset from each other. I’m trying to project the outline on 4 planes but some are working, others are not. Image below should have 4 sets of 3 green outlines.
Maybe not perfect, I did it very quick. Check the logic and if there are issues make it fit your needs. Cheers!
You see, the vector for the shadow is a bit off and not perpendicular to the planes. If I make it perpendicular Mesh Shadow component fails exactly as your code. This issue has been a problem for a long time now.
I’ve wasted half an hour on this and I don’t get what the problem with the mesh shadow really is. It seems to work with a bounding box of each mesh but the mesh itself fails. I tried shrinkwrapping but that also didn’t help consistently.