Layer rotation in 3D space

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

Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger

Layer rotation in 3D space

Postby starfish30 » Wed Oct 25, 2017 4:29 pm

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: 9
Joined: Sat Oct 14, 2017 5:36 pm

Re: Layer rotation in 3D space

Postby starfish30 » Wed Oct 25, 2017 5:03 pm

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: 9
Joined: Sat Oct 14, 2017 5:36 pm

Re: Layer rotation in 3D space

Postby starfish30 » Wed Oct 25, 2017 5:30 pm

Never mind. I'm going to do this is Motion 5. There's a "use orientation" setting for transforms that does the trick.
starfish30
 
Posts: 9
Joined: Sat Oct 14, 2017 5:36 pm

Re: Layer rotation in 3D space

Postby hayasidist » Wed Oct 25, 2017 5:41 pm

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
hayasidist
 
Posts: 1656
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Layer rotation in 3D space

Postby Víctor Paredes » Wed Oct 25, 2017 6:09 pm

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.
Víctor Paredes - Former Moho 12 Product Manager
My Youtube Channel - My webinars
User avatar
Víctor Paredes
 
Posts: 4768
Joined: Wed Jan 26, 2005 12:18 am
Location: Ireland

Re: Layer rotation in 3D space

Postby hayasidist » Wed Oct 25, 2017 8:49 pm

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)
User avatar
hayasidist
 
Posts: 1656
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England


Return to How Do I...?

Who is online

Users browsing this forum: No registered users and 1 guest