Relative Translations
Posted: Sun Jun 03, 2007 6:42 am
Hello.
This is my first post, so I hope I don't break any etiquette rules. I've been trying to answer all my questions by perusing the forum, but this one has me stumped.
I am trying to create a library of character-specific Actions that I can call upon at random times and at random positions on screen. For example: I have an Action that makes my character hop three steps across screen and stop. I would like to be able to initiate that action at a later time (not a continuous cycle) and at a different place in the layer w/o having to calculate offsets for every translation/rotation involved, in order to make the hop appear to have transitioned seamlessly.
I've done a lot of searching through the forum, and come across several interesting discussions about creating walk-cycle animations. I think it was 7feet who created an offset option in his Universal Layer Tool, but it was designed for specific cases in which the very next task will be a repeat of the same action. I'm wondering whether anyone has scripted something that would actually allow for relative translations/rotations of all elements (bone rotation has a "snap-back" problem as well) within an Action. This would negate the need for most offsets, and allow Actions to repeat "locally" and "non-linearly" on an immediate basis. With a reasonable, pre-built library of Actions, one could literally animate an entire scene with a series of single clicks - like ordering off a menu. Ultimately what would really be needed to eliminate ANY offsets is to be able to mix absolute and relative positioning within an Action, as some translations/rotations wouldn't make sense if it didn't interpolate back a specific starting point. They could even eventually go negative - Yikes!!!
If anyone has figured this out, I would love to know. I might try to script it myself, but, seeing as how my entire software coding experience dates back to 1989 and consists of a 9 line PASCAL program which produced 2 numbers randomly racing each other across a screen, I consider my chances slim.
Thanks for getting through such a long post.
MK
This is my first post, so I hope I don't break any etiquette rules. I've been trying to answer all my questions by perusing the forum, but this one has me stumped.
I am trying to create a library of character-specific Actions that I can call upon at random times and at random positions on screen. For example: I have an Action that makes my character hop three steps across screen and stop. I would like to be able to initiate that action at a later time (not a continuous cycle) and at a different place in the layer w/o having to calculate offsets for every translation/rotation involved, in order to make the hop appear to have transitioned seamlessly.
I've done a lot of searching through the forum, and come across several interesting discussions about creating walk-cycle animations. I think it was 7feet who created an offset option in his Universal Layer Tool, but it was designed for specific cases in which the very next task will be a repeat of the same action. I'm wondering whether anyone has scripted something that would actually allow for relative translations/rotations of all elements (bone rotation has a "snap-back" problem as well) within an Action. This would negate the need for most offsets, and allow Actions to repeat "locally" and "non-linearly" on an immediate basis. With a reasonable, pre-built library of Actions, one could literally animate an entire scene with a series of single clicks - like ordering off a menu. Ultimately what would really be needed to eliminate ANY offsets is to be able to mix absolute and relative positioning within an Action, as some translations/rotations wouldn't make sense if it didn't interpolate back a specific starting point. They could even eventually go negative - Yikes!!!
If anyone has figured this out, I would love to know. I might try to script it myself, but, seeing as how my entire software coding experience dates back to 1989 and consists of a 9 line PASCAL program which produced 2 numbers randomly racing each other across a screen, I consider my chances slim.
Thanks for getting through such a long post.
MK