# Attaching blueprint object to skeletal meshes socket

**URL:** <https://forums.unrealengine.com/t/attaching-blueprint-object-to-skeletal-meshes-socket/280453>\
**Category:** Blueprint\
**Tags:** skeletal-meshes, attachment, unreal-engine, Blueprint, question\
**Created:** [April 13, 2014, 1:12am UTC](https://forums.unrealengine.com/t/attaching-blueprint-object-to-skeletal-meshes-socket/280453 "2014-04-13T01:12:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Reboot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Reboot](https://forums.unrealengine.com/u/Reboot)\
**Post date:** [April 13, 2014, 1:12am UTC](https://forums.unrealengine.com/t/attaching-blueprint-object-to-skeletal-meshes-socket/280453/1 "2014-04-13T01:12:09Z")

</div>

I am trying to attach an object on a skeletal mesh using the step described in the documentation.  
I wanted to push it a bit further and instead of attaching a simple static mesh, i want to add an actor(blueprint with his own script) to a socket.

How would i do that ? Someone could write an exemple blueprint ?  
I am totally lost on how to make it work, i cannot get my blueprint object to work with the attach actor to component node. Adding the variable as object or actor would not work,couldn’t find any cast either,

Any idea ?

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [April 13, 2014, 1:57am UTC](https://forums.unrealengine.com/t/attaching-blueprint-object-to-skeletal-meshes-socket/280453/2 "2014-04-13T01:57:08Z")

</div>

Did you tired child actor component?

---

<div class="post-metadata">

**Author:** ![Reboot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Reboot](https://forums.unrealengine.com/u/Reboot)\
**Post date:** [April 13, 2014, 1:23pm UTC](https://forums.unrealengine.com/t/attaching-blueprint-object-to-skeletal-meshes-socket/280453/3 "2014-04-13T13:23:23Z")

</div>

Unless i do not understand childactorcomponent, i do not believe it is what i am looking for.

The Attach Actor To Component node SHOULD work.

My problem is most likely the way i am using/understanding variables.

Attach Actor To component require an "object"Actor and the object with the blueprint is a "object"Blueprint.  
I cannot get it to work in the input node of Attach Actor to Component.

---

<div class="post-metadata">

**Author:** ![Reboot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Reboot](https://forums.unrealengine.com/u/Reboot)\
**Post date:** [April 13, 2014, 1:45pm UTC](https://forums.unrealengine.com/t/attaching-blueprint-object-to-skeletal-meshes-socket/280453/4 "2014-04-13T13:45:49Z")

</div>

I figured it out !  
Since my character and object were not placed in the level, i had to spawn an instance of them to ba able to get it as an Actor.

I used the node Spawn Actor, selected my blueprint actor class, and then passed it as an Actor.

---

<div class="post-metadata">

**Author:** ![Chimp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chimp](https://forums.unrealengine.com/u/Chimp)\
**Post date:** [June 4, 2014, 6:45am UTC](https://forums.unrealengine.com/t/attaching-blueprint-object-to-skeletal-meshes-socket/280453/5 "2014-06-04T06:45:11Z")

</div>

Im trying to do the same thing. A StaticMesh attaches fine to my character but a SkelMesh doesn’t work.  
How did you spawn an instance of them exactly Reboot - would you mind elaborating on that?
