I'm having trouble figuring out how to link one value to another via a driver. Here's what I'm trying to do:

enter image description here

I'm making my own node group and I want to bypass having to tab into the group to change the value of XYZ rotation, but for reasons unknown to me I can't just connect the X rotation to my x_rotation value via a driver. This is the driver set up on the X rotation:

enter image description here

Is it just a matter of an incorrect path or am I doing something entirely wrong? Is there a different way to accomplish what I want?


The best way is to completely avoid drivers inside node groups. They do not update correctly and are only trouble.

You should make your own custom Rotate node with the angle value accessible. You can make almost any spacial transformation using the correct math put together with Math nodes. Rotating a 3d vector around Z axis θ degrees looks like this:

x' = x cos θ − y sin θ 
y' = x sin θ + y cos θ 
z' = z

In nodes it looks like this:

enter image description here

The white node is there to convert degrees into radians.

If you really need you can build your own Mapping node with translation, rotation and scale inputs exposed.

| improve this answer | |
  • 1
    $\begingroup$ Thanks so much, this does look like a much better solution. Guess it's time to dust off some math books... $\endgroup$ – Gorchitsa Jan 26 '17 at 19:43

Not the answer you're looking for? Browse other questions tagged or ask your own question.