# I can´t atach a object to socket on VR

**URL:** <https://forums.unrealengine.com/t/i-can-t-atach-a-object-to-socket-on-vr/485653>\
**Category:** XR Development\
**Tags:** grab, sockets, unreal-engine, question\
**Created:** [July 2, 2021, 2:42am UTC](https://forums.unrealengine.com/t/i-can-t-atach-a-object-to-socket-on-vr/485653 "2021-07-02T02:42:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ren90](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ren90](https://forums.unrealengine.com/u/ren90)\
**Post date:** [July 2, 2021, 2:42am UTC](https://forums.unrealengine.com/t/i-can-t-atach-a-object-to-socket-on-vr/485653/1 "2021-07-02T02:42:35Z")

</div>

Hello, I’ve been trying to find a solution for this for several days but I can’t find anything, I hope you can help me.

I’m trying to grab an object from the stage and assign it to a socket, but despite having the socket created and renaming, or moving it, the object is grabbed, but by hand, not the socket. I think I am missing code, or in this latest version it does not work, because I tried an Unreal project called darts!, in which I modified the sockets and if it identified them, I do not understand that I am missing or what I am doing wrong.

I follow the “Oculus VR Production for Unreal Engine” guide, in [https://learn.unrealengine.com](https://learn.unrealengine.com) and downloading his project does allow me to attach to sockets, so I don’t understand what I’m missing…

Thanks in advance, I leave you screenshots.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/b/2/3b27b24caae268b32a9a92d213cc39f6550bf309.jpeg)

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/5/4/7542c0b800fc04c49e37ecdf7a74241128f89ec4.png)

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/1/c/41c0ea781b5b3d65995168916e3150159ad8660d.jpeg)

---

<div class="post-metadata">

**Author:** ![ren90](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ren90](https://forums.unrealengine.com/u/ren90)\
**Post date:** [July 2, 2021, 4:02pm UTC](https://forums.unrealengine.com/t/i-can-t-atach-a-object-to-socket-on-vr/485653/2 "2021-07-02T16:02:46Z")

</div>

I managed to solve it, the problem is in a function of the BP\_MOTION CONTROLLER. More specifically, in the grabActor function, it is using the motion controller as an object for grabbing, instead of the mesh of the hand, so we must replace it with the mesh of the hand and that works.

Hope this helps, it took me a long time going through everything and couldn’t find any answers.

All the best.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/a/7/4a77e510e0afe4c23486f3a27a358b0ff7a034ee.jpeg)
