Maya | Mirroring a Point Across a Plane Using Nodes

Using Maya Nodes and a bit of maths, Armin Halac offers a look at creating a mirroring across a plane, such as mirroring and object and its behavior across the YZ planes.  One of the great things about Autodesk Maya, is that you have the opportunity to build things simple by stringing nodes together – not as affluently as you could in Houdini or Softimage mind you, but still very practical.

Mirroring a point across a plane (ex. YZ plane) seems easy but it requires a couple of math tricks to make it work every timeArmin Halac

With this setup, if you move an object, its mirror will repeat that behavior, and it even works if the objects breaks through the plane it is set to mirror on. Armin suggests that the key to this is due to the “dot” product nodes, giving projection information for an arbitrary point on the Y and Z Axes. With those values, you are able to get everything you need to find the mirrored positions. Armin notes that this type of calculation can be done on any objects in Maya, with a single vertex, curves, etc. Check out the Armin’s Post for Mirroring Across a Planein Maya Using Nodes here.

Mirror-across-a-plane-Nodes-Setup

Some of the links on lesterbanks are "affiliate links", a link with a special tracking code. This means if you click on an affiliate link and purchase the item, we will receive an affiliate commission. The price of the item is the same whether it is an affiliate link or not. Regardless, we only recommend products or services we believe will add value to our readers. By using the affiliate links, you are helping support our Website, and we genuinely appreciate your support.

1 comment

Comments are closed.