How to mirror an object (reverse its sides)?

I’ve built a 3D model that is to be used in an application where it is projected on a mirror. This model will be viewed from the mirror so I need a way (a function) to mirror the object in Unity so that when it is projected on the mirror it will look in its proper orientation.

For 2d just rotate Y-axis 180 degrees.

–

3 Answers

3

You could just set its transform’s X scale to -1, and rotate it accordingly.

OMG! I'm so stupid. I was gona write a editor script to create a new model asset. Luckily I see this before I start. lol

–

this will cause normal map got flipped , it is not wise solution.

–

Thank you. I thought it would be something harder.

–

I used this to flip objects without any negative effects. Worked great.

–

Thanks a lof.You saved my 30$.

–

How would one do this with a prefab hierarchy that’s the child of a empty game object?

Thanks mate, you still saving lifes hhhhh