Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to make a mirror of an object and when I manipulate it I also see the transformations reflected in the copy of the object. Here in this example it only works as a mirror when I manipulate it on a single X axis.
I am totally confused in understanding the operation of matrix3 when using it to generate a copy.
The example code is thanks to DenisT
(
delete objects
origin = box pos:[-30, 10, 10] wirecolor:yellow
rotate origin (eulerangles 0 0 45)
mirrorX = copy origin wirecolor:green
tm = origin.transform * (matrix3 [-1,0,0] [0,1,0] [0,0,1] [0,0,0])
mirrorX.transform = prescale tm [-1,1,1]
)
Solved! Go to Solution.