• Editor
  • Mirroring a mesh but not an image for a symmetrical rig.

So basically I have a forward facing rig which has 2 arms. I've rigged one arm and have given it a nice 3D effect but it was time consuming so I'd like to find a way to flip it and reuse the mesh/rig for the opposite arm as well.

The obvious answer would be to duplicate it and just flip it and import the new arm image into the mesh but the hard part is that I need the actual image for the opposite arm to still be drawn in the proper direction for lighting reasons (so it cannot be flipped in anyway or have any sort of negative scaling or the light will also be flipped).

So yeah, is there any trick to flip a mesh or image inside the mesh or flip a rig and negate the negative scaling or something? I also thought that maybe I could do it by exporting and editing a JSON and reimporting it but I'm not %100 on what I would have to edit.

Any ideas?

Related Discussions
...
  • Змінено

You can flip the arm you animated, and then replace the mesh image path with your other image 😃 of course, for this to work the two arms need to be oriented the same way in the source. This way you get correct lights and save time!

Hmm yeah I was wondering if it is possible to have an image oriented the opposite way and just flip a mesh to match or something. Since the image is being lit with normals in unity if it is oriented the same in spine but flipped then it automatically flips how it is lit because it is essentially lighting the sprite map and not the whole object. Basically when we export the atlas everything has to be oriented exactly as they were drawn so no rotations or anything. Hopefully that makes sense.

I imagine it should be doable by editing a json but it would probably take as much time as just remeshing it. I was just hoping there was a slightly faster way.