[Blender] Free addon: Dynamic Parent

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 พ.ย. 2024

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

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

    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  11 หลายเดือนก่อน +2

      Thanks, pinned!

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

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

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

      What exactly does this fix?

    • @kalleblomkvist7667
      @kalleblomkvist7667 7 หลายเดือนก่อน +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 ปีที่แล้ว +26

    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  ปีที่แล้ว +3

      Perfect, thanks!

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

      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 ปีที่แล้ว +6

    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.

  • @sottozen
    @sottozen ปีที่แล้ว +3

    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  ปีที่แล้ว +3

      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 ปีที่แล้ว +1

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

  • @BennXdesign
    @BennXdesign 11 หลายเดือนก่อน +4

    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_DH
      @Damian_DH 6 หลายเดือนก่อน

      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.

  • @IoanBracau
    @IoanBracau ปีที่แล้ว +4

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

  • @thenodecamp
    @thenodecamp ปีที่แล้ว +3

    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

  • @cgartistbox
    @cgartistbox ปีที่แล้ว +4

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

  • @wanoman99
    @wanoman99 28 วันที่ผ่านมา

    Amazing and straightforward addon, saved me a huge amount of work on a tight deadline! Absolute legends!!!

  • @Valkinsenn
    @Valkinsenn 8 หลายเดือนก่อน +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.

  • @jaewonseo2132
    @jaewonseo2132 9 หลายเดือนก่อน +2

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

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

      Cheers, mate!

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

    Thank for the tut. I wish I saw it 2 weeks ago when I was fighting this issue. My character was flying a hoverbike and had two guns in her holsters. ChildOf constraint didn't work correctly, so I got away with creating two versions of a gun - one in the hand and one in the holster. I attached them to separate bones and set minimal scale for the gun in the holster while the character was holding the other one in her hand and vice versa. Of course it was but a crutch, but it worked

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

      Good creative solution! There is another approach where you can have several copies of the model and keyframe their visibility when you need to switch parents.

  • @TINJ_
    @TINJ_ ปีที่แล้ว +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  ปีที่แล้ว +1

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

    • @CGDive
      @CGDive  ปีที่แล้ว +3

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

  • @SnivyO.O
    @SnivyO.O ปีที่แล้ว +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  ปีที่แล้ว +1

      You're very welcome!

  • @jakejake6029
    @jakejake6029 ปีที่แล้ว +1

    as always you give the community the best add on

  • @Animotions01
    @Animotions01 ปีที่แล้ว +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  ปีที่แล้ว

      Fantastic!

    • @ugu8963
      @ugu8963 ปีที่แล้ว +2

      When you see it, it all seems so simple 😀

  • @ShienlanMiitsues
    @ShienlanMiitsues ปีที่แล้ว +4

    3:37 This sentiment is too relatable XD

    • @CGDive
      @CGDive  ปีที่แล้ว +3

      I know, right?

  • @watchmeanimateYT
    @watchmeanimateYT ปีที่แล้ว +1

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

  • @BennXdesign
    @BennXdesign 11 หลายเดือนก่อน +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).

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

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

  • @philosophyfrog2653
    @philosophyfrog2653 10 หลายเดือนก่อน +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?

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

    This is dope wtf, addons are wildlly useful

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

      Yep! :)

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

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

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

    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  9 หลายเดือนก่อน +2

      7. Pray

  • @HorganInnovation
    @HorganInnovation 10 หลายเดือนก่อน +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?

  • @rexwinz
    @rexwinz ปีที่แล้ว +2

    Awesome thank you❤

  • @subhaskhalkho2059
    @subhaskhalkho2059 ปีที่แล้ว +1

    Blender addon install but not showing addon . Please help

    • @CGDive
      @CGDive  ปีที่แล้ว +1

      I don't know why, sorry 😞

  • @alexwestphal9515
    @alexwestphal9515 ปีที่แล้ว +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  ปีที่แล้ว +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 :)

  • @TheJackFoley
    @TheJackFoley ปีที่แล้ว +1

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

    • @CGDive
      @CGDive  ปีที่แล้ว +1

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

  • @димаскопин
    @димаскопин ปีที่แล้ว +1

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

  • @Blaharator
    @Blaharator ปีที่แล้ว +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  ปีที่แล้ว +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 ปีที่แล้ว +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  ปีที่แล้ว +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 ปีที่แล้ว +1

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

    • @CGDive
      @CGDive  ปีที่แล้ว +1

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

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

    Thanks Man!!! So Awesome :)

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

      Glad to help!

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

    why is not support on blender 4.0?

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

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

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

      @@CGDive It has been updated to work in blender 4+.
      Just tested it in 4.2 and it works fine.

  • @malbo-
    @malbo- 4 หลายเดือนก่อน

    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

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

      Sorry for the late reply. If it is baked correctly, then yes it will. Check my Blender to Games playlist to learn more about game export
      th-cam.com/play/PLdcL5aF8ZcJvCyqWeCBYVGKbQgrQngen3.html

  • @AdmDi
    @AdmDi 4 หลายเดือนก่อน

    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  4 หลายเดือนก่อน

      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.

  • @TheVisualDigitalArts
    @TheVisualDigitalArts 11 วันที่ผ่านมา

    thank you sir

  • @marcosramirez3609
    @marcosramirez3609 ปีที่แล้ว +2

    good video

    • @CGDive
      @CGDive  ปีที่แล้ว +3

      Glad you enjoyed it!

  • @ПикулевРоман
    @ПикулевРоман หลายเดือนก่อน

    On version 4.2.2, it does not work, in the sense that it does not even appear in the settings panel, and when you try to reinstall it, Blender sends messages about installing files in the folder with addons, but there is no way to turn it on, do you have any suggestions how to fix it?

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

      I just tested it and it works fine for me. Do this:
      -download the latest version from the link in the video description
      -uninstall any currently installed version of the addon
      -close Blender completely and start it again
      -install the newest version of the addon

  • @myrminki
    @myrminki ปีที่แล้ว +1

    Holy cow

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

    can we make spiderman hook rope with this addon?

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

      I don't think it's designed for that but I guess it could be part of a solution for the effect you are looking for.

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

    THX 😍😍

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

      You're welcome!

  • @PCMTTOPPER
    @PCMTTOPPER ปีที่แล้ว +1

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

    • @CGDive
      @CGDive  ปีที่แล้ว +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 ปีที่แล้ว

      @@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 ปีที่แล้ว +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 ปีที่แล้ว +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  ปีที่แล้ว +6

      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!