Animate the origin of layers
Moderators: Víctor Paredes, Belgarath, slowtiger
-
- Posts: 370
- Joined: Thu Aug 05, 2004 2:23 am
- Location: Los Angeles
- Contact:
- funksmaname
- Posts: 3174
- Joined: Tue May 29, 2007 11:31 am
- Location: New Zealand
- Víctor Paredes
- Site Admin
- Posts: 5814
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
absolutely great!
I'll check tomorrow with more time.
thank you very much!
I'll check tomorrow with more time.
thank you very much!






Moho co-owner
Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
-
- Posts: 370
- Joined: Thu Aug 05, 2004 2:23 am
- Location: Los Angeles
- Contact:
Did you create a layer with the same name as the layer you want to animate the origin of and add ".origin" to the end?uddhava wrote:ponysmasher,
I tried out this script, but when I tried moving the origin it wouldn't move at all. Lua Consule reads....
....error in function 'layer'. argument#2 is 'nil'; 'number' expected.
I have version 8.01 of ASPro and I use Windows 7.
udd
Looks nice though. uddhava
If the layer where you want to animate the origin is called "My fabulous layer", then you have to create a layer called "My fabulous layer.origin".
The keyframes for the layer have to be stored somewhere so my solution is to store them in that layer.
Oh right, I think the .origin layer also has to be a top layer, that is not inside another layer. Haven't added any code for checking group or bone layers (yet).
Okay, that fixed the problem. Actually all of my problems with this script came from not watching the video carefully enough.jonbo wrote:Hey Udd, you get that error because you are embedding the script on the wrong layer. You embed it on the first layer not the .origin layer. Watch the video again, you'll see what I mean. I did that too at first and got that same error you got.
Thanks jonbo.
Thanks ponysmasher, sorry for my negligence. Btw, I notice more and scripts are listed on your website. Great contribution!
Re: Animate the origin of layers
Hello David, how are you? I was wondering if you still have the Animatie Origin script available? I could really use it for my project! Thanks, greets
Re: Animate the origin of layers
I'm curious about this too...is it available for 12 or 13?
I have to work around the lack of an animateable origin by nesting in groups and then animating the child layers. This works fine for a shot-specific setups but it's really not the same thing as animating the origin directly.
I have to work around the lack of an animateable origin by nesting in groups and then animating the child layers. This works fine for a shot-specific setups but it's really not the same thing as animating the origin directly.
NEW! Visit our Little Green Dog Channel on YouTube!
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
Re: Animate the origin of layers
I remember I used this script on a project, well... many years ago. Fortunately I stored a copy. Don't know if still works on 12 or 13.
Here it is: https://drive.google.com/open?id=1fPAnd ... 9adt1MSFG2
Here it is: https://drive.google.com/open?id=1fPAnd ... 9adt1MSFG2
Even with the head in the clouds You can touch the ground
https://www.facebook.com/santiago.penny
https://www.behance.net/pennysantiago
https://www.facebook.com/santiago.penny
https://www.behance.net/pennysantiago
Re: Animate the origin of layers
That's great Penny thanks, just fiddled around with it quickly and it still seems to work on 12Penny wrote: ↑Sun May 10, 2020 9:56 pm I remember I used this script on a project, well... many years ago. Fortunately I stored a copy. Don't know if still works on 12 or 13.
Here it is: https://drive.google.com/open?id=1fPAnd ... 9adt1MSFG2

Re: Animate the origin of layers
Thanks for posting that Penny! Will check it out.
NEW! Visit our Little Green Dog Channel on YouTube!
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel