strange behavior by changing origin

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
docsascha
Posts: 20
Joined: Tue Feb 09, 2016 1:18 pm

strange behavior by changing origin

Post by docsascha »

Hi



Just wanted to do a turn one of my figure layers and so I changed the origin, and there is a strange effect, suddenly the layer is moved to another place (even in Layer 0) and a path is visible how come?
The LAyers have been imported an placed on the position also in Layer 0
sometimes AS11 works in mysterious ways :( .

Alexander
User avatar
synthsin75
Posts: 10254
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: strange behavior by changing origin

Post by synthsin75 »

Have you moved this layer backward on the sequencer? If so, you probably have a keyframe hiding behind frame zero.
docsascha
Posts: 20
Joined: Tue Feb 09, 2016 1:18 pm

Re: strange behavior by changing origin

Post by docsascha »

no, i just imported it, adapted the size and added bones
but if your suggestion is the reason of this, how can i remove the keyframe?


Alexander
User avatar
synthsin75
Posts: 10254
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: strange behavior by changing origin

Post by synthsin75 »

Slide the layer forward in the sequencer. If that's not it, you may need to post a file. Guessing can only get us so far.
docsascha
Posts: 20
Joined: Tue Feb 09, 2016 1:18 pm

Re: strange behavior by changing origin

Post by docsascha »

thanks, how can I post the file with all the pictures , its more than 50MB

Alexander
docsascha
Posts: 20
Joined: Tue Feb 09, 2016 1:18 pm

Re: strange behavior by changing origin

Post by docsascha »

Just had the problem with an other layer

layer source is an other file from which I imported it
source file is justused as character source where size is changed and bones are added and joint with layer. the character is a made from a psd file with different layers
no animation or action was added to source

after import into animation file size was adjusted

strange behavior after changing origin of layer and using "transform layer" command to rotate layer. Suddenly there is an path
alexander
User avatar
synthsin75
Posts: 10254
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: strange behavior by changing origin

Post by synthsin75 »

docsascha wrote:thanks, how can I post the file with all the pictures , its more than 50MB

Alexander
Compress the AS file and images in a zip file, upload to somewhere like Dropbox, post the link to that file here.
docsascha
Posts: 20
Joined: Tue Feb 09, 2016 1:18 pm

Re: strange behavior by changing origin

Post by docsascha »

thanks again
think I got the reason for the problem

the same effect occurs in the source file. it seems to be caused by resizing in frame 0 and changing the origin within the animation and not in frame 0 and apply the transform layer command.
If I do not resize the layer in frame 0 but change the origin and apply transform layer command this strange behavior does not happen
Files attached
https://onedrive.live.com/redir?resid=6 ... =folder%2c

alexander
User avatar
synthsin75
Posts: 10254
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: strange behavior by changing origin

Post by synthsin75 »

Ahhh. Yep, you found the cause. Layer rotation and scale depend on layer origin, so AS animates the layer to keep it looking the same when you change the origin. If you copy the first added layer transform keyframe to frame zero, you can delete that key and it will be like you changed the origin at frame zero.
docsascha
Posts: 20
Joined: Tue Feb 09, 2016 1:18 pm

Re: strange behavior by changing origin

Post by docsascha »

thanks, but you lost me a little bit
>If you copy the first added layer
managed that

>transform keyframe to frame zero
????

>you can delete that key and it will be like you changed the origin at frame zero


Alexander
User avatar
synthsin75
Posts: 10254
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: strange behavior by changing origin

Post by synthsin75 »

Changing the origin, in a frame other than zero, for a layer that's been rotated or scaled in frame zero, adds a layer translation keyframe (like your file shows). If you don't want the layer animating from frame zero to that key, copy it to frame zero (and delete it, if you want).
docsascha
Posts: 20
Joined: Tue Feb 09, 2016 1:18 pm

Re: strange behavior by changing origin

Post by docsascha »

thanks
now I get it


Alexander
Post Reply