Modified Stravant's Model Reflect To Support Unions

A while ago, Stravant made a plugin for reflecting models. However, it wasn’t able to do Unions (and CornerWedgeParts didn’t mirror correctly). With the new engine’s speed and reliability, I figured I could separate all the parts and negate/union them back together, while keeping track of the properties. Works large scale as well.

Be aware: Unions may have random planes. This is due to the negate part’s face being on the same plane as the part. Also, negate parts no longer change the colors. (cc @rbadam)

23 Likes

This is siiiiiiiiiiick. Well done!

Is this the issue that you said be aware of? Try reflecting that model.

Captain2.rbxmx (436.1 KB)

1 Like

I think the employee who’s working mainly on the CSG engine is @linearcomplex

1 Like

Thanks for that case. Appears I had two edge cases I didn’t plan for:
NegatePart → Negate → Part (error with UsePartColor not being a property of part)
NegatePart → Union → NegatePart (decided to negate instead of union)

Should be all set now.

2 Likes

Thanks! Plugin is dope.

https://gyazo.com/d6240fa944b9ceb6e849a8f8f261eb72.mp4

2 Likes