ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

# Layers skew when rotating

FAQ   •   VIEW ALL
 Layers skew when rotating on Jun 12, 2009 at 6:19:15 pm

Hey everyone,
This is one of those stupid simple questions. I must have pressed a wrong key somewhere and it's activated 'something'. When I rotate a layer it skews and extends horribley, until it reaches 180 degrees again, where it returns to normal. Meaning I can't use it at any value between 0-180. Any idea guys?

Thanks,

Ryan

 Re: Layers skew when rotatingon Jun 12, 2009 at 6:22:21 pm

It sounds like you're viewing a non-square pixel comp without pixel aspect ratio (PAR) compensation on. It's one of the little buttons below the comp window. Check the help for "pixel aspect ratio".

Let us know if that's not it.

 Re: Layers skew when rotatingon Jun 12, 2009 at 6:26:01 pm

One way that can happen is if your rotating layer is a child layer and the parent is non-uniformly scaled (x scale and y scale are not the same).

Dan

 Re: Layers skew when rotatingon Jun 13, 2017 at 3:53:15 pmLast Edited By Flavio Soares on Jun 13, 2017 at 4:39:56 pm

Dan,

first of all THANK YOU for you excellent work on expressions and you generosity on sharing this with us.

I've had this non-uniform scale issue many times, is there a workaround if someone MUST use non-uniform scale?

I've found an old post from you recommending this expression

```L = thisLayer; s = transform.scale.value; while (L.hasParent){ L = L.parent; for (i = 0; i < s.length; i++) s[i] *= 100/L.transform.scale.value[i] } s```

but it did not work for me, maybe because I'm working with 3d layers.

What if those layers are a 3d collapsed precomp?

best regards

Flávio

 Re: Layers skew when rotatingon Jun 13, 2017 at 4:40:29 pm

I'm not aware of a workaround, but would love to hear about it if someone else knows of one.

Dan

 Re: Layers skew when rotatingon Jun 12, 2009 at 6:40:03 pm

Thanks Dan for your input, but ultimately it was the problem that Steven described. It's now been resolved. Thank you both for your help.

Ryan

 Re: Layers skew when rotatingon Sep 11, 2009 at 11:07:47 am

Hi Ryan,
I've got a similar problem..Can you tell me how to resolve it?

Thanks,
Ajay

 Re: Layers skew when rotatingon Sep 12, 2009 at 5:28:49 pm

Hi Ajay,
Did you try out the suggestions from Steve & Dan who replied to my original thread? Personally, my problem was solved by Steve's suggestion - I clicked on composition settings, and my pixel aspect ration was on widescreen rather than square pixels. Selecting square pixels sorted out my issue instantly.

Hope that helps,

Ryan

 Re: Layers skew when rotatingon Apr 5, 2013 at 8:52:41 pm

I'm having this problem and toggle-ing the PAR switch did not do it.

In this case I think the problem caused because I am rotating a a non-uniform scaled object with a uniform child. What would be a work around for that?

 Re: Layers skew when rotatingon Dec 18, 2014 at 5:35:19 pm

Hi

I am encountering the same problem, no pixel-aspect irregularities.
I have done this many times before without this happening, could this be a bug with the new version (CC2014)?
What i had to do to work around this was to first parent my layers in the parenting stack to null objects, then parenting the null objects to each other.

 Re: Layers skew when rotatingon Dec 19, 2014 at 3:36:23 pm

Is one of your parents scaled non-uniformly?
I haven't heard of any bugs to do with scaling/skewing issues in the new version.

- The Great Szalam
(The 'Great' stands for 'Not So Great, in fact, Extremely Humble')

No trees were harmed in the creation of this message, but several thousand electrons were mildly inconvenienced.