If you like this project and/or find it useful, please leave a Star on this repository.
- Mirror game objects along:
- X, Y, Z axes.
- XZ, XY, ZY plane.
- a point with custom rotation axes. (you can set up your custom mirror along point)
Download Demo and play it.
-
Create a new Unity project.
-
Import TmirrorT package.
-
Create a simple scene
-
Add a cube game object. (reference object)
-
Add empty game object and change name Mirror
-
Add (axis mirror/plane mirror/point mirror) component to Mirror :
-
Axis Mirror component:
- Mirror objects along X, Y, Z axes.
-
Plane mirror component:
- Mirror objects along XZ, XY, ZY axes.
-
Point Mirror component:
- Mirror objects along a point
- you can limit point mirror axis with 'be axis' field and also change rotation behavior with 'custom rotation quaternion' field)
-
-
Add another cube game object and change name Mirror Object (blue)
-
Add Mirror Transform component to Mirror Object.
-
Select first cube game object (yellow) as target and Mirror (red) as mirror
-
Press play and enjoy
It's free. enjoy it.
It is prohibited to sublicense and/or sell copies of this project in stores such as the Unity Asset Store!
© Seyed Moein Saadati