Layer rotation in 3D space

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
starfish30
Posts: 14
Joined: Sat Oct 14, 2017 5:36 pm

Layer rotation in 3D space

Post by starfish30 »

Is there a way to rotate the triangle shape layer so it folds over the other like they're attached with a hinge? I've tried it with the origin set at the top corner and also center, but either way it doesn't rotate the way I want it to.

https://i.imgur.com/zhcSCEI.gif
starfish30
Posts: 14
Joined: Sat Oct 14, 2017 5:36 pm

Re: Layer rotation in 3D space

Post by starfish30 »

update: I found a workaround but it's a real pain. If I rotate all the triangle shapes in Photoshop so one edge is at 90 degrees, reimport to Moho, add the rotation keyframe for the 3D rotation, then rotate the layer folder in 2D to put the image back into position.

I'd be grateful if anyone could share a better way to do this because I have about a fifty of these layers.

https://i.imgur.com/xz5WJHE.gif
starfish30
Posts: 14
Joined: Sat Oct 14, 2017 5:36 pm

Re: Layer rotation in 3D space

Post by starfish30 »

Never mind. I'm going to do this is Motion 5. There's a "use orientation" setting for transforms that does the trick.
User avatar
hayasidist
Posts: 3492
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Layer rotation in 3D space

Post by hayasidist »

yeah - you can rotate about the cardinal axes but not about an arbitrary line! (I had the same idea about two rotations ..)

This sounds like a useful enhancement for working with images
User avatar
Víctor Paredes
Site Admin
Posts: 5646
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Re: Layer rotation in 3D space

Post by Víctor Paredes »

You can put the layer inside of a group. rotate it and then use the group origin instead.
That way you at least save one step.
Image Image Image Image
Moho Product Manager

www.mohoanimation.com
Rigged animation supervisor in My father's dragon - Lead Moho artist in Wolfwalkers - Cartoon Saloon - My personal Youtube Channel
User avatar
hayasidist
Posts: 3492
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Layer rotation in 3D space

Post by hayasidist »

it's groups of groups I think ..

Group - rotated about z to "undo" the rotation of static and moving pieces
> Group - origin moved to pivot point - can be rotated as needed about y
>> moving piece - rotated about z to align with y axis
> static piece - rotated about z to align with moving piece

(at least that worked for me)
Post Reply