Results 1 to 13 of 13
  1. #1
    Member
    Join Date
    Apr 2015
    Location
    I'm a stray.
    Posts
    56

    One object, multiple armatures?

    I'd like to achieve a simple character creation setup.

    What I'm trying so far, is using one armature for the animation, and another for proportions, which can be edited to change height or proportions.

    Problem is, while in veiwport mode, everything is fine, as soon as I run the game engine, the object is only deformed by the armature it's parented to.

    I mean, I expected as much, but odd that it worked in veiwport, but not the game...

    How should I achieve this? Am I missing something? Am I approaching it the entire wrong way?

    Thank you for your time.
    Last edited by Ranstone; 17-Apr-18 at 19:52.



  2. #2
    i tried this too with no success.

    could you combine the armatures and just play two animations?
    System "IVAN" (rev 2.0) - Win7 64bit - Blender 2.74:
    Intel i7-3770 4.10 Ghz | EVGA GTX 970 | GSkill Ares 16GB 1600 Mhz | ASUS P8Z77-V LK
    Where my Code Lives - https://github.com/DaedalusMDW



  3. #3
    Member
    Join Date
    Apr 2015
    Location
    I'm a stray.
    Posts
    56
    Nah, one armature can only play one animation... As far as I'm aware.
    If I'm wrong, I'd love to know.



  4. #4
    Member Nicholas_A's Avatar
    Join Date
    Oct 2014
    Location
    own.worldPosition
    Posts
    1,208
    you can interpolate multiple animations on a single armature
    My website | My YouTube channel | My Blendswap profile | My Discord Server

    I sell custom logos for $5 (among other things). Check them out!



  5. #5
    Member
    Join Date
    Apr 2015
    Location
    I'm a stray.
    Posts
    56
    Really? How?
    Can you show me,/link a tutorial?



  6. #6
    Member Cotaks's Avatar
    Join Date
    May 2012
    Location
    The Netherlands
    Posts
    1,353
    Nah, one armature can only play one animation... As far as I'm aware.
    hmm, how do you mean? my armature is always playing 2 or 3 animations at the same time (walking/running, aiming/shooting, head turning). Use the animation layer system.
    '- It's not working' then check your console like: this
    Did you know that you can make a complete game with the .blends that i share?



  7. #7
    Member
    Join Date
    Apr 2015
    Location
    I'm a stray.
    Posts
    56
    I've never hear of this at all.
    Sounds promising!
    Can you show me how,/link a tutorial?



  8. #8
    Member Cotaks's Avatar
    Join Date
    May 2012
    Location
    The Netherlands
    Posts
    1,353
    Originally Posted by Ranstone View Post
    I've never hear of this at all.
    Sounds promising!
    Can you show me how,/link a tutorial?
    python animation command:
    Code:
                        # name, start, end, layer, priority, blendin, mode
                        armature.playAction('aiming_with_'+own['carry_weapon'], 30, 0, 0,  2, 0, 0)
    and in the logic brick it's just called layer, put every animation on a different layer.

    here you can see my char walking and grabbing his weapon, 1 armatue 2 actions.
    https://youtu.be/u_369VTUASs?t=31
    '- It's not working' then check your console like: this
    Did you know that you can make a complete game with the .blends that i share?



  9. #9
    as long as each animation is on its own layer and there arent overlapping channels.
    System "IVAN" (rev 2.0) - Win7 64bit - Blender 2.74:
    Intel i7-3770 4.10 Ghz | EVGA GTX 970 | GSkill Ares 16GB 1600 Mhz | ASUS P8Z77-V LK
    Where my Code Lives - https://github.com/DaedalusMDW



  10. #10
    Member
    Join Date
    Apr 2015
    Location
    I'm a stray.
    Posts
    56
    Mkay... Mkay... yeah, ok... hmm...
    Gotcha! Thanks... Lemmy try this out.



  11. #11
    Member
    Join Date
    Apr 2015
    Location
    I'm a stray.
    Posts
    56
    Got it! Thanks for your time! I never knew you could do this! Thanks a heap.



  12. #12
    Member JustinBarrett's Avatar
    Join Date
    Jul 2009
    Location
    Trier(near), Germany
    Posts
    2,574
    Originally Posted by Daedalus_MDW View Post
    as long as each animation is on its own layer and there arent overlapping channels.
    This is how I understood it to work...
    e.g. animate the lower and upper body with separate animations for walk so later you can animate the upper body for attack...while still walking etc...
    at least this is how I assume it works...I just don't do it because that is a lot of animation and planning ...and let's face it...I'm quite old and may not live long enough to see the outcome
    "The crows seem to be calling my name." Thought Kaw.
    Myrlea, "The Shepherd's Quest" formerly "Valiant" [project]



  13. #13
    Member Liebranca's Avatar
    Join Date
    Nov 2017
    Location
    La Tomba
    Posts
    43
    ^you can animate the entire body and then play an action over that where only some bones are animated, e.g.:

    layers&priority.jpg

    AFAIK one's supposed to give higher priority (lower number) to the overwriting action. I don't know any documentation that's crystal clear on all of this, so most likely everyone has their own way of making it work. Me, I give the armature a bunch of different states and just let my evil module pick the correct animation for each state depending on what the context is.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •