Interaction animations - What's the best way?

  • #1, by topineTuesday, 30. December 2014, 16:47 10 years ago
    Hi everyone.

    Fist of all, sorry about my english.

    I need help to figure out how to do "complex" animations envolving interactions between character and object . I made a quick sketch to exemplify, it's kind of a extreme example that can solve all my doubts.

    As you can see, there is a character and a huge box, as an object. The interaction's consequence is a big punch that throws away the character to another point of the scene. Then he stands up and we're back to the game, from this point, and the glove is now out of the box.

    What's the best way to do that kind of thing? It's animating the object and the character separately, synchronized? It's doing everything on character's animation? And how to give character's a new stay point after that?

    Thank you so much. And sorry if my english is hard to understand.

    Newbie

    6 Posts


  • #2, by afrlmeTuesday, 30. December 2014, 17:18 10 years ago
    I often add actions to individual animation frames (inside vs) such as sounds, toggling of conditions/values & various actions/action parts to trigger other animations etc.

    I sometimes create a single animation (again in vs) & then in the first frame of the animation I use lua script & a query to determine which frame(s) should be displayed. That way saves me from having to create multiple conditions/objects for the same thing in different states instead of multiple versions.

    Interaction animations have to take into consideration the scale of the character at that point in the scene. Especially animations which involve taking/using/placing items as the item needs to be correctly scale down from 100% to the same size as the item being placed/taking from that point in the scene.

    One issue with animating character & object together inside of the same animation is that you need to make sure that the character/animation is correctly scaled & positioned which can be quite difficult/time consuming.

    Ok in your example I would:
    1. on character reach interaction point of the object, trigger the character animation.
    2. during the button press animation I would add an action to the frame where the button press should trigger the glove flying out animation.
    3. Same as (1) I would again add an action to the glove flying out animation which triggers the character flying back animation on the frame where the glove contacts with the character.

    etc... etc... I think you get a general idea of how I approach programming animations now? Unfortunately I'm no artist & thus it would take me ages to draw up some simple diagrams.

    P.S: I understood your English perfectly! smile

    Imperator

    7285 Posts

  • #3, by topineTuesday, 30. December 2014, 17:44 10 years ago
    Thank you, AFRLme.

    To do this separately and synchronized, I think I can animate (in my animation softwere) things togheter, but in separated layers. Than I export each one. And If I trigger (in VS) both animations at the same time, I guess it will work. And there will be no scale problem, I just have to apply the same % to both o then.

    I'll try that way.

    Newbie

    6 Posts