# How to add Constraint Component to a bone?

**URL:** <https://forums.unrealengine.com/t/how-to-add-constraint-component-to-a-bone/446698>\
**Category:** World Creation\
**Tags:** bone, attach, skeletal, unreal-engine, constraint, component, Physics, question\
**Created:** [April 5, 2019, 7:21pm UTC](https://forums.unrealengine.com/t/how-to-add-constraint-component-to-a-bone/446698 "2019-04-05T19:21:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Slavq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Post date:** [April 5, 2019, 7:21pm UTC](https://forums.unrealengine.com/t/how-to-add-constraint-component-to-a-bone/446698/1 "2019-04-05T19:21:44Z")

</div>

> **[Physics Constraint Component User Guide](https://docs.unrealengine.com/4.27/en-US/InteractiveExperiences/Physics/Constraints/ConstraintsBlueprints/)**
>
> A user guide on using the Physics Constraint Component in Blueprints.

Constraint components can be used to connect e.g. two static meshes together with physics simulation.  
But is it possible to connect static mesh to a skeletal mesh bone using this?  
I’ve tried the SetConstrainedComponents node with specifying bone name, but nothing works.

---

<div class="post-metadata">

**Author:** ![X1D3F4H6K4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@X1D3F4H6K4](https://forums.unrealengine.com/u/X1D3F4H6K4)\
**Post date:** [May 10, 2020, 5:43pm UTC](https://forums.unrealengine.com/t/how-to-add-constraint-component-to-a-bone/446698/2 "2020-05-10T17:43:15Z")

</div>

Did you ever figure this one out? I’m going through the same arduous process of experimentation you probably went through. Nothing seems to work yet. Blargh.

---

<div class="post-metadata">

**Author:** ![Slavq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Post date:** [May 10, 2020, 6:01pm UTC](https://forums.unrealengine.com/t/how-to-add-constraint-component-to-a-bone/446698/3 "2020-05-10T18:01:21Z")

</div>

No, unfortunately. I abandoned my little experiment because of that.

---

<div class="post-metadata">

**Author:** ![Germanium\_diode](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Germanium\_diode](https://forums.unrealengine.com/u/Germanium_diode)\
**Post date:** [July 9, 2022, 9:01pm UTC](https://forums.unrealengine.com/t/how-to-add-constraint-component-to-a-bone/446698/4 "2022-07-09T21:01:19Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/8/8/78839ce714afe174edd4b824cb5fc15a11da5b47.png)  
I was able to connect a box to a bone in a skeletal mesh just by setting the constraint bone 1 name to the name of the bone. This was in UE5.0.2

---

<div class="post-metadata">

**Author:** ![PeterW\_art](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PeterW\_art](https://forums.unrealengine.com/u/PeterW_art)\
**Post date:** [July 15, 2023, 2:42am UTC](https://forums.unrealengine.com/t/how-to-add-constraint-component-to-a-bone/446698/5 "2023-07-15T02:42:44Z")

</div>

This doesn’t work for me for some reason. The constraint just doesn’t move to where the bone is.

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/f/f/7ff87d4431a04d8c912ad0515f04c1f3d71388d3.png)

---

<div class="post-metadata">

**Author:** ![Badcoub](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/badcoub/32/1084194_2.png) [@Badcoub](https://forums.unrealengine.com/u/Badcoub)\
**Post date:** [June 29, 2024, 11:10am UTC](https://forums.unrealengine.com/t/how-to-add-constraint-component-to-a-bone/446698/6 "2024-06-29T11:10:03Z")

</div>

I know it’s been a while, but I’m writing this response for those who may have encountered a similar problem today.

First, I create a “HandRSocket” socket  
 ![4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/0/d3000945903abd9c4ee7e7789317c97f0075e76b.png)

Then in the Mesh I create the sphere “re” and physics constraint “PC\_RightHand”  
 ![1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/4/1/4411123fee61cc9d39b23b299d91417d6a8601f3.png)

Now the most important thing, in Parent Socket we write our socket “HandRSocket”, in component #1 we write the name of the sphere “re”, in component #2 we write the name of the Mesh “CharacterMesh0” and in Constraint Bone 2 we write the name of the desired bone, in my case “hand\_r”  
 ![3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/c/fecf1412b643dc3679d9c9c068af24a030048bfb.png)

After these steps, a red and a blue cube should appear in the viewport

 ![2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/8/e/88e5c1fbf5149e11d98826eec0a99f6f9882d1db.png)

And at the end we get this result  
 ![5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/1/b/b1b36e4f42467979e367646a0be8d5f576e6902f.gif)
