[Blender] Free addon: Dynamic Parent

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ก.ค. 2024
  • -------------------------------------------------------------------------------------
    ❖Get all CGDive courses for just $5.99 per month!❖
    academy.cgdive.com/courses
    Note: This is like Patreon but much better :)
    -------------------------------------------------------------------------------------
    Get Dynamic Parent addon:
    github.com/romanvolodin/dynam...
    RECOMMENDED PRODUCTS
    ❖Rig Anything With Rigify (coupon code "cgdive" = 20% off)
    toshicg.gumroad.com/l/rigify
    Alive! Animation course in Blender
    www.p2design-academy.com/p/al...
    ❖The art of effective rigging in Blender (coupon code "cgdive" = 10% off))
    www.p2design-academy.com/p/th...
    ❖Hard Surface Rigging In Blender
    blendermarket.com/products/ha...
    ❖Auto-Rig Pro
    blendermarket.com/products/au...
    ❖RBF Drivers
    gumroad.com/a/348001395/XzWpB
    ❖Bonera
    gumroad.com/a/99062899/oXuxm
    0:00 Dynamic Parent intro
    1:29 Simple Manual example (FAIL)
    3:58 Dynamic Parent addon
    5:57 Complex Rig Example
    her32756743edjhfkjhdfslkj
  • ภาพยนตร์และแอนิเมชัน

ความคิดเห็น • 72

  • @kalleblomkvist7667
    @kalleblomkvist7667 7 หลายเดือนก่อน +4

    Thx for the tut on the really nice and useful Dynamic Parent addon!
    Until this addon is officially updated, here is a hotfix that works at least for 4.1 alpha :)
    for win 11
    Edit the dynamic_parent.py that is in C:\Users\yourusername\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons
    Find the two following two lines! This one now only takes 1-2 args, instead of 1-3
    bpy.ops.constraint.childof_set_inverse(C, constraint=last_constraint.name, owner='OBJECT')
    bpy.ops.constraint.childof_set_inverse(C, constraint=last_constraint.name, owner='BONE')
    to (Just remove the first argument "C" in each)
    bpy.ops.constraint.childof_set_inverse(constraint=last_constraint.name, owner='OBJECT')
    bpy.ops.constraint.childof_set_inverse(constraint=last_constraint.name, owner='BONE')
    Save and then restart Blender

    • @CGDive
      @CGDive  7 หลายเดือนก่อน +2

      Thanks, pinned!

    • @kalleblomkvist7667
      @kalleblomkvist7667 7 หลายเดือนก่อน +2

      Happy to help out a tiny bit when possible, cheers!

    • @henonicks
      @henonicks 3 หลายเดือนก่อน

      What exactly does this fix?

    • @kalleblomkvist7667
      @kalleblomkvist7667 3 หลายเดือนก่อน +1

      I am no coder, but at the time, those small changes made the addon work :)
      I guess Blender changed the arguments required for that command for 4.0 and newer, and "broke" addons using it.
      Now it's not needed, as the addon is now officially updated, 6th of december 2023, with exactly those line fixes!

  • @BarrettSmithBB
    @BarrettSmithBB 10 หลายเดือนก่อน +19

    I use this addon ALL the time, absolute necessity when animating. A few tips I've learned while using it:
    1. Parenting is opposite of default blender, that is, you must select the Parent object THEN child object. Default blender is opposite.
    2. If you pickup the object multiple times with the same parent, you want to make multiple dynamic parents, instead of keyframing the influence on/off of a single constraint.
    3. The default keyframe type is Bezier and auto clamped. setting them to Constant will help with drifitng issues.
    4. When you're using with a rig, handing the same object off between (eg hands), can give the "select two objects" error. You may need to use an intermediatary empty, or a manual child of constraint.
    Other than those small caveats it's a great add-on!

    • @CGDive
      @CGDive  10 หลายเดือนก่อน +3

      Perfect, thanks!

    • @binyaminbass
      @binyaminbass 5 หลายเดือนก่อน +5

      I am using the new update, 2.0.1, for Blender 4.0. It seems #2 now happens automatically and #4 is not longer an issue. Hooray!

  • @juliocargnin
    @juliocargnin 9 หลายเดือนก่อน +4

    In our studio we developed our own method for these situations without 3rd parties by building all the desirable slots in the metarig itself. Our philosophy is “Every animation data should flawlessly work anytime a rig is regenerated”. And “animators should never create/delete constraints on top of the control rigs (but always key them when interacted with)”. We also found that using booleans for the parent switch on the custom property are safer than integers or floats, specially when there are multiple slots, to avoid motion-blur artefacts due to the linear nature of these properties. (I.e you can’t switch from slot 2 to 5 without passing trough the intermediates. Even from one frame to another as subframes are a thing in motion blur). Where as Booleans are parallel allowing arbitrarily switch directly to any slot without motion-blur artefacts.

  • @cgartistbox
    @cgartistbox 10 หลายเดือนก่อน +4

    This should be a native tool in Blender. It saved my life a few times :)

  • @IoanBracau
    @IoanBracau 10 หลายเดือนก่อน +3

    I remember trying to do this the normal way and being so frustrated. Im so happy this exists!

  • @sottozen
    @sottozen 10 หลายเดือนก่อน +2

    What a relief! I thought, after years, I was the only one who didn't get how "child of" works! Thanks for this!

    • @CGDive
      @CGDive  10 หลายเดือนก่อน +1

      On the surface, it seems like such a nice, little, innocent and simple constraint. But once you start using it, hair pulling is guaranteed :D

    • @sottozen
      @sottozen 10 หลายเดือนก่อน +1

      @@CGDive Ah-ha, you're absolutely right!

  • @thenodecamp
    @thenodecamp 10 หลายเดือนก่อน +2

    Basically, this addon does something I've been doing before manually. Use child of to attach an object, then when you want to turn it off, do a quick bake and remove constrains, copy the keyframe, undo the bake, put influence on 0, and paste the keyframe. It's a huge time saver of an addon

  • @Valkinsenn
    @Valkinsenn 4 หลายเดือนก่อน +1

    As someone looking to do first person animations for a passion project of mine (or just animations in general), this is a _big deal._ Blender's standard Child Of constraint drives me absolutely _bananas,_ so having something like this in my arsenal will be a _huge_ boon, for real.

  • @BennXdesign
    @BennXdesign 7 หลายเดือนก่อน +2

    I can't believe we NEED to rely on an addon to do this VERY BASIC thing! in any case, thanks a lot for the addon maker, this is a godsend.

    • @Damian_h
      @Damian_h 2 หลายเดือนก่อน

      yea specially the last part where he explains due to a Blender limitation the add on dev cant really make a use of old contrains which is kinda bad when it comes to optimization no matter what they say stacking stuff is no good.

  • @watchmeanimateYT
    @watchmeanimateYT 9 หลายเดือนก่อน +1

    superb video explaining the issues including & the perfect complex rig demo to showcase this GEM of an addon!!

  • @SnivyO.O
    @SnivyO.O 10 หลายเดือนก่อน +3

    Very simple yet an extremely helpful addon! Thank you for your showcase, this will definitely save a lot of time during the animating process!

    • @CGDive
      @CGDive  10 หลายเดือนก่อน +1

      You're very welcome!

  • @ShienlanMiitsues
    @ShienlanMiitsues 8 หลายเดือนก่อน +3

    3:37 This sentiment is too relatable XD

    • @CGDive
      @CGDive  8 หลายเดือนก่อน +3

      I know, right?

  • @jakejake6029
    @jakejake6029 9 หลายเดือนก่อน +1

    as always you give the community the best add on

  • @TINJ_
    @TINJ_ 10 หลายเดือนก่อน +4

    It's simple to avoid the issue you ran into without the addon. Keyframe the object on the frame before it's picked up/dropped and right after. You'll forget a few times but that's what you have to do.

    • @CGDive
      @CGDive  10 หลายเดือนก่อน +1

      Can you share the exact workflow, step by step? I tried hard but can't wrap my head around it.

    • @CGDive
      @CGDive  10 หลายเดือนก่อน +3

      I managed to do. Keyframing and using constant interpolation worked for me. Still prefer the addon tho :)

  • @jaewonseo2132
    @jaewonseo2132 5 หลายเดือนก่อน +1

    holy mother of gods... god bless you and the legend who made that addon

    • @CGDive
      @CGDive  5 หลายเดือนก่อน +1

      Cheers, mate!

  • @AutodidactAnimotions
    @AutodidactAnimotions 10 หลายเดือนก่อน +1

    I have had this add-on for over a year but never figured out the parenting process with a control rig like rigify or ARP
    thanks for this tutorial.😁

    • @CGDive
      @CGDive  10 หลายเดือนก่อน

      Fantastic!

    • @ugu8963
      @ugu8963 10 หลายเดือนก่อน +2

      When you see it, it all seems so simple 😀

  • @TheJackFoley
    @TheJackFoley 7 หลายเดือนก่อน +2

    Addon is now officially updated for Blender 4. I had missed it so much that I went back to Blender 3.6.5!

  • @genesis-9183
    @genesis-9183 6 หลายเดือนก่อน +1

    Please make a video about how to attach cloth to animated body and make cloth animated as well.

  • @rexwinz
    @rexwinz 10 หลายเดือนก่อน +2

    Awesome thank you❤

  • @BennXdesign
    @BennXdesign 7 หลายเดือนก่อน +1

    there is still a problem though : if you want to edit the position of a parent after baking all your chain of child-parents, well... you can't. You will have to unkeyframe everything, delete all the child of constraints, then restart from the start (or at least from the point you edited a position). just sliding keyframe works though.
    another problem (fixable): during a parent switch, the child will revert to its original position, then return to it's place. as it happens between 2 keyframes, you won't notice it, but you definitively will if you render the animation with motion blur! the part will disappear for a frame. you can see the between frame movement of the child by engaging the subframes. The fix is to disable the snap to keyframe, then squeeze the child of constraint keyframe as much as possible in the between frame space, and if it is beyond the motion blur setting frame, the motion blur won't pick it. you can also just disable the motion blur (at least for the problematic frame).

  • @user-uo1ld9pr2u
    @user-uo1ld9pr2u 10 หลายเดือนก่อน +1

    нужная инфа спасибо автору

  • @HorganInnovation
    @HorganInnovation 6 หลายเดือนก่อน +1

    Thank you for all the great tutorials! I'm trying to have my Rigified character pick up an item (two parented parts) that, unlike your knife, was never a part of the character model. However, in your video, you have the character rig IK bone parented to the IK bone of an object (the gun). I added a single armature bone to my two-part object and parented the object (child) to the bone (parent), but I couldn't generate a rig. You mentioned in your video that Dynamic Parent only works with IK bones. My question is, how do I give my two-part object to be picked up, an IK bone? What am I missing here?

  • @binyaminbass
    @binyaminbass 5 หลายเดือนก่อน

    I had to dig into stack exchange to find how the manual method works:
    When turning off the child of constraint:
    1. Key location of Child Object
    2. Key Contraint Influence at 1.00
    3. Move forward one frame.
    4. Apply Visual Transform of Child Object (This is the secret!)
    5. Key Location of Child Object
    6. Set Constraint Influence to 0.00 and Key it.

    • @CGDive
      @CGDive  5 หลายเดือนก่อน +1

      7. Pray

  • @philosophyfrog2653
    @philosophyfrog2653 6 หลายเดือนก่อน +1

    I'm using 4.0 Bones deform strangely in pose mode when trying to attach one bone to another using this addon. The prop bone is separated. Any thoughts on what could be causing this or is the addon simple not up to date?

  • @myrminki
    @myrminki 10 หลายเดือนก่อน +1

    Holy cow

  • @attachaiarrayayarn8219
    @attachaiarrayayarn8219 2 หลายเดือนก่อน

    THX 😍😍

    • @CGDive
      @CGDive  2 หลายเดือนก่อน

      You're welcome!

  • @alexwestphal9515
    @alexwestphal9515 10 หลายเดือนก่อน +1

    i wonder if theres a way to work it with a rigid body sphere.. to animate throwing a ball or something that bounces after

    • @CGDive
      @CGDive  10 หลายเดือนก่อน +2

      It can. You don't even need the addon unless there is complex change of parents needed.
      You just want to have the rigid body parented to the hand (using Child of) while it does the "throwing animation" and enable the Animated option for the Rigid body. Then as the hand releases the body, disable the Child of and also make the Animated option goes from On to Off within 1 keyframe. Not sure if that makes sense but it does work :)

  • @malbo-
    @malbo- 9 วันที่ผ่านมา

    Hello, great tutorial, I have a question. If I export an fbx with multiple meshes (a character model and a sword model) using this add-on, will it work fine with the sword properly attached to the hand if I export into unity? I've had trouble using default child of constraints in unity

  • @marcosramirez3609
    @marcosramirez3609 10 หลายเดือนก่อน +2

    good video

    • @CGDive
      @CGDive  10 หลายเดือนก่อน +3

      Glad you enjoyed it!

  • @Blaharator
    @Blaharator 10 หลายเดือนก่อน +4

    Would this animation work after exporting to fbx? Can you recommend an easy way to bake this animation so that the gun keeps working ?

    • @CGDive
      @CGDive  10 หลายเดือนก่อน +5

      Excellent question. I should have covered this.
      Yes, you can bake it. The addon itself has a bake option. Below Create and Disable, there is a drop down menu. You have to have all controls that are involved in the animation selected and choose "Bake and clear".
      Or you can only select the dynamic bone (the pistol in this example) and do a manual Bake Action. Enable:
      -only selected bones
      -Visual Keying
      -Clear constraints
      -Overwrite current action.
      As for exporting to a game engine, this has more to do with following a proper workflow for that purpose. My workflows are here
      th-cam.com/play/PLdcL5aF8ZcJvCyqWeCBYVGKbQgrQngen3.html

    • @ugu8963
      @ugu8963 10 หลายเดือนก่อน +1

      @@CGDive Would you be so kind as to add a little addendum to the video to demonstrate the baking options in the addon ? Great stuff, I was hoping for something like that

    • @CGDive
      @CGDive  10 หลายเดือนก่อน +1

      @@ugu8963 I guess I could make an additional video. Really wish YT would let you edit or replace a video. But of course it's obvious wht they don't allow it.

    • @ugu8963
      @ugu8963 10 หลายเดือนก่อน +1

      @@CGDive BTW, would the "bake action" of GRT take care of the baking of those constraints automatically ?

    • @CGDive
      @CGDive  10 หลายเดือนก่อน +1

      @@ugu8963 yeah, it should because it bakes the Game rig which is just constrained to the Control rig.

  • @TheJackFoley
    @TheJackFoley 8 หลายเดือนก่อน +1

    Love this addon but it doesn't seen to work in Blender 4.

    • @CGDive
      @CGDive  8 หลายเดือนก่อน +1

      I'm sure it will be updated in due time.

  • @subhaskhalkho2059
    @subhaskhalkho2059 9 หลายเดือนก่อน +1

    Blender addon install but not showing addon . Please help

    • @CGDive
      @CGDive  9 หลายเดือนก่อน +1

      I don't know why, sorry 😞

  • @maulviA99
    @maulviA99 7 หลายเดือนก่อน +1

    why is not support on blender 4.0?

    • @CGDive
      @CGDive  7 หลายเดือนก่อน +1

      I haven't tested it but many addons break when a new blender version is released. It will be fixed later.

  • @AdmDi
    @AdmDi 7 วันที่ผ่านมา

    Maybe I'll discover that later, but, what is the problem of using "Child of" instead? It can be animated... But maybe I will discover that later.

    • @CGDive
      @CGDive  7 วันที่ผ่านมา

      Did you watch the first part of the video? I can't show you the problem with ChildOf any more clearly. If it works for you, great. But I want to punch myself in face anytime I try to do anything complex with it.

  • @Bigsperg
    @Bigsperg 5 หลายเดือนก่อน +1

    So, the constraints are only attached to the animation or on the overall rig?

    • @CGDive
      @CGDive  5 หลายเดือนก่อน +2

      Constraints are "attached" to bones.

  • @PCMTTOPPER
    @PCMTTOPPER 10 หลายเดือนก่อน +1

    You are great 👍 bro
    But why are you making these simple tutorials

    • @CGDive
      @CGDive  10 หลายเดือนก่อน +3

      That's a good question. I've been thinking a lot about what kind of videos to make.
      To your question, I don't think it's that straightforward. What's simple to you is not simple to everyone. So I think this is useful to some people.
      But there are other influences as well. As the channel grows I feel pressured to keep delivering videos at regular intervals. So often I pick some low-hanging fruit that I believe would be useful but won't be too hard to make. This is something I am not that happy about and I am trying to come up with ways to change things.
      What kind of tuts would you like me to make? I would appreciate the feedback!

    • @PCMTTOPPER
      @PCMTTOPPER 10 หลายเดือนก่อน

      @@CGDive attractive character making like "indianimation" or can you make attractive attractive character using cg cookie flex rig
      I don't want to spend too much time on making character
      So what can I do please suggest

    • @ugu8963
      @ugu8963 10 หลายเดือนก่อน +2

      @@CGDive I think those simple fundamental tutorials are a blessing to get into blender animation. This is such a dark forest otherwise.

  • @TheConarai
    @TheConarai 8 หลายเดือนก่อน +1

    The manual method was a few more steps, he made the manual method look like a headache. Not worth the money, sorry

    • @CGDive
      @CGDive  8 หลายเดือนก่อน +5

      hahahahahah, this is the funniest comment ever. Tell me you didn't watch the video without telling me you didn't.
      1. the manual technique IS a pain and I couldn't even get it to work
      2. This is a FREE addon... definitely worth "the money" if you ask me!