Model Reflect Plugin

So, I finally got a model reflect plugin working! Works with SurfaceTypes, Decals, Textures, SurfaceGuis, WedgeParts, CornerWedgeParts, etc. Everything that you would expect.

Does not work with CSGs. Devs give CSG API plz.

Worked out to be pretty simple in the end, I’m not sure what I was getting wrong the other times that I tried it.

Let me know if you find any models that it messes up on.

11 Likes

Also per Maelstronomer’s suggestion I updated all my plugins to use a couple of shared toolbars rather than each having their own and added icons where they were previously missing.

Sorry for any messed up formatting this causes when you update them. I think it should be significantly nicer now to have them all in the same toolbar, since they do have very close types of functionality.

1 Like

Cheers Stravant you’re a champ

2 Likes

Thank you. I’ve used a little bit of command line code to reflect models, but this is way nicer. Exactly what I wanted. I think like half the plugins I use are made by you now.

1 Like

Oh thanks :open_mouth:
This tool is amazing, I will use it wisely.

I’ve found a glitch, while using it like a troll.

first my ship is rotated, and clean.

1 Like

Is the cockpit a CSG part? It looks like that’s the problem. The plugin can’t do anything other than treat CSG parts as generic square blocks, it has no way of knowing which of their planes is the plane of symmetry, so it will mess up on them.

If not, could you link me the model or send me a copy?

1 Like

Yes the cockpit is a CSG part. I’ll send you the model via the developer forum’s pm.
Just right now I can’t roblox is undergoing a maintenance and my CSG don’t load :? or my files are corrupted…

1 Like

image

reflectconstraints

Attachments aren’t reflected correctly and Constraints don’t have their Attachments updated. (unless they’re a child of the part the constraint is inside, most likely an artifact of :Clone())

2 Likes

Just to make sure, CSG parts are when you combine multiple parts to make a union right?
I’m not very good with the Developer Dictionary, Sorry!

1 Like

Just FYI: I updated this recently and it now supports pivots, Welds, constraints, Attachments etc.

6 Likes

i know its late @stravant but most of the time when i mirror stuff it seperates and gets all glitched
image

1 Like

What exactly am I supposed be looking at here? Could you give me a good demonstrative test case?

1 Like

unions that consist of other unions using negates ones that would clip into other parts if they werent seperate unions

1 Like

Bump.

Issues with CSG as they can now be stretched.
If a CSG has any negation then when the Union re-processes then the initial negated part no longer matches.

1 Like

I have a question about the model, but it doesn’t work with CSG v3.

Before:

After:

The union get glitched when it is already mirrored, but sometimes it resizes automatically. So, it no longer matches the side.

1 Like

Thanks for reporting the issue @Nouriel2005. Are you able to share a model file containing the problematic union so that we can investigate the issue?

Yes, will share them, but I’ve already do save a model file. There is a file with a problematic union:

Model Reflect union problem.rbxm (5.4 MB)

2 Likes

Thanks for sharing. I took a look at the model file, but I was not able to see any incorrect resizing. Would it be possible to explain more precisely where you saw the incorrect resizing happening (e.g. by attaching an image which demonstrates the incorrect resizing more clearly) ?

2 Likes

This plugin is really great, but I’d love to get the code as a module too for invoking. My current solution is just hacking it apart and reexporting it.

1 Like