FORUMS: list search recent posts

restricting a transformation

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Alej Martinez
restricting a transformation
on May 25, 2015 at 7:04:04 pm

Hey guys. I've been using AE for a while now and I consider myself an advanced beginner.







So I watched this video on youtube and in the video I saw they had restricted Red's movements so that he couldn't go underground. I was hoping you guys could help me by telling me how it is done.

Thanks in advance.


Return to posts index


Cassius Marques
Re: restricting a transformation
on May 25, 2015 at 7:38:50 pm

One way to do it is to set an if/else expression in the position.

Create a circle, create a null, link the circle to the null...

add this to the circle's position property:

a=transform.position[1];
[transform.position[0],(a <0?a:0)]


Return to posts index

Alej Martinez
Re: restricting a transformation
on May 25, 2015 at 7:50:44 pm

Awesome! It worked.
Thank you so much.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]