Return-Path: Received: from moutng.kundenserver.de ([212.227.17.8] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 5011459 for AE-List@media-motion.tv; Sat, 23 Mar 2013 16:28:43 +0100 Received: from oxbsltgw06.schlund.de (oxbsltgw06.schlund.de [172.19.249.23]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0MN4ps-1ULdPv1FrE-006cCv; Sat, 23 Mar 2013 16:36:03 +0100 Date: Sat, 23 Mar 2013 16:36:02 +0100 (CET) From: "mylenium@mylenium.de" Reply-To: "mylenium@mylenium.de" To: After Effects Mail List Message-ID: <322090497.203554.1364052962980.open-xchange@email.1und1.de> In-Reply-To: References: Subject: Re: [AE] Rotation Expression Problem MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_203553_2039636287.1364052962925" X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v- X-Provags-ID: V02:K0:abhq6ce3X4IzdVRDheM1fU51WfH/TjwaIbftWo5zKc1 67vv8E4KMG3uoMzUXGJY5QEeiCtsBA82Ttg/hSi4yKdhDtnZwX uih9HmEkkzxHWBmrNHWCMHKcsqPPIBecHlYozkQLMcI4wE66XZ d7RNfQkVSWKaav5j0AcvJJ2GGd4lt49G20kBXbcQP1Q+7uIsau NhxLtbNtSpt4ys5OOdGpctn9BO+A0IoxdSo1BOLHuV5v3qqp9O ADKqw9vozxRvrXoxbATy2R5xoS9wNl5/+LrQQ0XXfLHbGwkhf5 0+9tdoqcbphaSM9RpHRLIJmoQwtYBEv8zl5Iz/r4sYelaW97YK fwZFHqv+TCVmFEoi4fvr+UY6yLQHjIIOadf9McOUmyqzEO7aW7 2C+NJVuavvqhsQ1xRrtuycZISKjHaTFVjI= ------=_Part_203553_2039636287.1364052962925 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable You will probably need to use the toWorldVec() layer space transform somewh= ere and perhaps add another Null somewhere inbetween. Impossible to say exactly without seeing the exact setup. The lazy way would be to use a lookAt() expression on teh 3D Orientation property and let it target an "Up Vector" layer: http://www.motionscript.com/design-guide/auto-orient-y-only.html Mylenium [Pour Myl=C3=A8ne, ange sur terre] ----------------------------------------- www.mylenium.de > S=C3=A9bastien P=C3=A9rier hat am 23. M=C3=A4rz 2013 = um 16:09 > geschrieben: > > > Hi everyone, > > I'm struggling with a project right now and can't seem to find the > appropriate orientation / rotation expression. > > In this project I have 3 layers, the floor, the ladder and the guy. > > I have to keep the guy perpendicular to the floor. But the guy layer is > parented to the ladder, and the ladder is animated on all it's rotation > axis (imagine a flying carpet, but looking like a ladder). > > I can't seem to find the correct expressions to keep the guy > perpendicular to the floor (which can also be animated on it's > orientation/rotation axis) in all cases. The guy parenting to the ladder > adds a lot of complication that my non-math-friendly head can't seem to > overcome. > > Any hint ? > > Cheers, > > Seb > > +---End of message---+ > To unsubscribe send any message to ------=_Part_203553_2039636287.1364052962925 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
You will probably need to use the toWorldVec() layer space transform somewhere and perhaps add another Null somewhere inbetween. Impossible to say exactly without seeing the exact setup. The lazy way would be to use a lookAt() expression on teh 3D Orientation property and let it target an "Up Vector" layer:
 
http://www.motionscript.com/design-guide/auto-orient-y-only.html
 
Mylenium
 
[Pour Mylène, ange sur terre]
-----------------------------------------
www.mylenium.de

> Sébastien Périer <yenaphe@gmail.com> hat am 23. März 2013 um 16:09 geschrieben:
>
>
> Hi everyone,
>
> I'm struggling with a project right now and can't seem to find the
> appropriate orientation / rotation expression.
>
> In this project I have 3 layers, the floor, the ladder and the guy.
>
> I have to keep the guy perpendicular to the floor. But the guy layer is
> parented to the ladder, and the ladder is animated on all it's rotation
> axis (imagine a flying carpet, but looking like a ladder).
>
> I can't seem to find the correct expressions to keep the guy
> perpendicular to the floor (which can also be animated on it's
> orientation/rotation axis) in all cases. The guy parenting to the ladder
> adds a lot of complication that my non-math-friendly head can't seem to
> overcome.
>
> Any hint ?
>
> Cheers,
>
> Seb
>
> +---End of message---+
> To unsubscribe send any message to <ae-list-off@media-motion.tv>
------=_Part_203553_2039636287.1364052962925--