0
$\begingroup$

I want to create a GN setup which would duplicate a mesh, mirror it (maybe with a -1 scale) and place it at the opposite of an other object (same result as a mirror modifier with a custom object in center). There are some tutorials out yet but I don't understand them or they aren't aiming the same result as I want.

For a bit of context, here's my project. I want to mirror the tire but I can't use the classic modifier because I want to rotate the tires along every axis (X for the tilt, Z for the steering and Y for the main rotation) and I don't want them to be mirrored as well (for instance the direction of steering has to be the same for both tires).

Context

I've already tried to duplicate the input geometry, to offset it by 2*(distance between the custom center and the average center of my geometry), but as I don't want the custom center to appear in my final geometry, I can't use its point's index to get his location and use it in the equation (same thing for the points of the bounding box I use to get the center of the geometry).

Exemple :

(I've tried to get the position of the corners of the bounding box so then I can subtract their Y value and get the widht of the tire) Current Setup

$\endgroup$
8
  • $\begingroup$ What have you achieve so far ? Where are you stuck ? Why wouldn't a mirror modifier work but a geometry node modifier would ? They act the same : you'll need to explain to us on what basis you think a mirror modifier wouldn't work. The mirror modifier already provides the possibility to choose an object as center. $\endgroup$ Commented Nov 15 at 19:42
  • $\begingroup$ In the modifier, you have the option of adding an "object" into it, this object will act as the coordinate system, you can have an empty or dummy object at the desired center $\endgroup$ Commented Nov 15 at 19:57
  • $\begingroup$ Yea, if the constraints are literal constraints, then using GN is not a solution to that problem because GN is a modifier just like "Mirror" so it will be evaluted at the same time in relation to constraints (constraints are evaluated first). $\endgroup$ Commented Nov 15 at 22:51
  • $\begingroup$ What I mean is that I want to rotate the tires along every axis (X for the tilt, Z for the steering and Y for the main rotation) and I don't want them to be mirrored as well (for instance the direction of steering has to be the same for both tires). Besides, I want to improve myself, which I cant if I dodge the problems... $\endgroup$ Commented Nov 16 at 12:22
  • 2
    $\begingroup$ Why not have two objects and just a constraint to copy rotation? $\endgroup$ Commented Nov 16 at 15:38

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.