3
$\begingroup$

I believe the array modifier uses local coordinates to the object being replicated.

I have a cube I want replicated and I would like to get

enter image description here

but what I always get is

enter image description here

I have set Transform Orientations for the object to global but to no avail.

As usual, any help appreciated...

TIA

$\endgroup$
  • 2
    $\begingroup$ If you ask this question I suppose that it's because you don't want to change the orientation of your object in Edit mode? Just to make sure... ;) $\endgroup$ – moonboots Jul 3 '18 at 8:11
2
$\begingroup$

Modifiers work on the mesh.

The orientation of the default cube is "logical". With (0, 0, 0) rotation it sits "flat". It all makes sense. Start to rotate in edit mode (or in object mode and apply) it all starts getting a bit hard to follow.

Modifiers work on the mesh (data) part of an object. A couple of ways to change the orientation of the mesh before using the array modifier.

1. Armature Modfifier before the array modifier.

If the armature modifier rotates the mesh before the array this'll work.

enter image description here Rotating the bone, and result on cube 16 x 16 array

Here I've added a single bone middle of default cube, selected cube, ⇧ Shift selected bone, ⎈ Ctrl P set parent, and chosen automatic weights. Now rotating the pose bone rotates the cube. If the armature modifier is before the array modifier it will do what you want, ie rotate each cube in the array.

enter image description here

Shape keys

Keep the normal orientation of cube as the Basis key. Add a shape key(s) for the rotated state(s). Because shape-keys are moving the vertices (data) of the mesh, this will give desired result too.

enter image description here

$\endgroup$
0
$\begingroup$

It turns out that array will do what I want if only I go into edit mode. I had been in object mode...

Sorry to have asked a little hastily.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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