# \#socket-reference

**URL:** https://forums.unrealengine.com/tag/socket-reference/10489.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [I can't move the camera when attached to head socket](https://forums.unrealengine.com/t/i-cant-move-the-camera-when-attached-to-head-socket/415219)

<div class="topic-metadata">

**Author:** [@Niyam\_K\_Nazar](https://forums.unrealengine.com/u/Niyam_K_Nazar)\
**Replies:** 9\
**Last updated:** [August 7, 2024, 1:28am UTC](https://forums.unrealengine.com/t/i-cant-move-the-camera-when-attached-to-head-socket/415219 "2024-08-07T01:28:34Z")

</div>

I clicked ‘Edit ThirdPersonCharacter’ and went into the Viewport window, dragged the FollowCamera into the Mesh, and in FollowCamera, I changed the Parent Socket to ‘Head’, and now I can’t move the camera, since when I …

---

## [How to create UPROPERTY that can select from available sockets](https://forums.unrealengine.com/t/how-to-create-uproperty-that-can-select-from-available-sockets/414476)

<div class="topic-metadata">

**Author:** [@Impulse21](https://forums.unrealengine.com/u/Impulse21)\
**Replies:** 1\
**Last updated:** [June 7, 2024, 1:06pm UTC](https://forums.unrealengine.com/t/how-to-create-uproperty-that-can-select-from-available-sockets/414476 "2024-06-07T13:06:33Z")

</div>

Hi Community! I am looking into defining a Character class that will expose a property to blueprints to allow someone to defined which socket a weapon can be attached to. One solution I see is to defined a member varia…

---

## [Attaching weapons to hand very tedious](https://forums.unrealengine.com/t/attaching-weapons-to-hand-very-tedious/417209)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_fcf13d2c](https://forums.unrealengine.com/u/anonymous_user_fcf13d2c)\
**Replies:** 12\
**Last updated:** [January 26, 2024, 4:16pm UTC](https://forums.unrealengine.com/t/attaching-weapons-to-hand-very-tedious/417209 "2024-01-26T16:16:39Z")

</div>

Ok so Im having trouble with attaching weapons. Sure I can set up a socket to attach one weapon to but what happens when I want to attach a different weapon that has a different point of origin and rotation. Do I have to…

---

## [Whats the proper way to attach 2 hands to an object using FABRIK?](https://forums.unrealengine.com/t/whats-the-proper-way-to-attach-2-hands-to-an-object-using-fabrik/457648)

<div class="topic-metadata">

**Author:** [@Orichalcum\_Plus](https://forums.unrealengine.com/u/Orichalcum_Plus)\
**Replies:** 2\
**Last updated:** [June 19, 2022, 5:44am UTC](https://forums.unrealengine.com/t/whats-the-proper-way-to-attach-2-hands-to-an-object-using-fabrik/457648 "2022-06-19T05:44:41Z")

</div>

So I have been trying to attach my characters second hand to a socket using the FABRIK node so that I don’t have to create different animations for weapons with different dimensions. I can’t seem to get it to work correc…

---

## [Attaching a Camera to a Socket](https://forums.unrealengine.com/t/attaching-a-camera-to-a-socket/489207)

<div class="topic-metadata">

**Author:** [@TrainBoy319](https://forums.unrealengine.com/u/TrainBoy319)\
**Replies:** 1\
**Last updated:** [September 25, 2021, 9:09pm UTC](https://forums.unrealengine.com/t/attaching-a-camera-to-a-socket/489207 "2021-09-25T21:09:55Z")

</div>

You can do this in the BeginPlay or Possessed function, using the AttachToComponent function. I’m not 100% sure, but I think the skeletal mesh isn’t loaded when the SetupAttachment is called, so the function doesn’t find…

---

## [Attaching Mesh to another Mesh](https://forums.unrealengine.com/t/attaching-mesh-to-another-mesh/485365)

<div class="topic-metadata">

**Author:** [@turbotax90210](https://forums.unrealengine.com/u/turbotax90210)\
**Replies:** 6\
**Last updated:** [June 25, 2021, 7:32pm UTC](https://forums.unrealengine.com/t/attaching-mesh-to-another-mesh/485365 "2021-06-25T19:32:33Z")

</div>

This is probably really obvious but I can’t find the information anywhere online. All I can find it attaching objects to the player character. All I want to do is attach a burger to the bottom part of a burger bun. I h…

---

## [How can i change default reference possition?](https://forums.unrealengine.com/t/how-can-i-change-default-reference-possition/481964)

<div class="topic-metadata">

**Author:** [@PhxExc1siOn](https://forums.unrealengine.com/u/PhxExc1siOn)\
**Replies:** 0\
**Last updated:** [April 15, 2021, 1:16pm UTC](https://forums.unrealengine.com/t/how-can-i-change-default-reference-possition/481964 "2021-04-15T13:16:16Z")

</div>

Hello everyone. I’m new in UE4 and i’ve got a problem with reference possition. I don’t know how to change the reference possition to 0.0 , 0.0 , 0.0. From BP i can’t change it , it’s grey. What should i do ? Thanks …

---

## [Sockets and Animations](https://forums.unrealengine.com/t/sockets-and-animations/481350)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Replies:** 0\
**Last updated:** [April 4, 2021, 4:03am UTC](https://forums.unrealengine.com/t/sockets-and-animations/481350 "2021-04-04T04:03:15Z")

</div>

This is so tough figuring out, cause i have made a gun idle animation and an aim down sight animation, but the gun is linked to a socket, so when i move the socket in for example the idle animation, it also moves in the …

---

## [Having trouble keeping Weapon on two sockets](https://forums.unrealengine.com/t/having-trouble-keeping-weapon-on-two-sockets/479571)

<div class="topic-metadata">

**Author:** [@OFloodster](https://forums.unrealengine.com/u/OFloodster)\
**Replies:** 1\
**Last updated:** [March 11, 2021, 6:39pm UTC](https://forums.unrealengine.com/t/having-trouble-keeping-weapon-on-two-sockets/479571 "2021-03-11T18:39:29Z")

</div>

Hi everyone right now I am working on a thirdperson shooter game but I have seem to have come across a problem with attaching the weapon into the sockets. When I go into certain poses when aiming the right hand does not …

---

## [Is there a sofware glitch with "Sockets" in UE4.26?](https://forums.unrealengine.com/t/is-there-a-sofware-glitch-with-sockets-in-ue4-26/477952)

<div class="topic-metadata">

**Author:** [@GEOFFREY\_KEECH](https://forums.unrealengine.com/u/GEOFFREY_KEECH)\
**Replies:** 1\
**Last updated:** [February 15, 2021, 8:18am UTC](https://forums.unrealengine.com/t/is-there-a-sofware-glitch-with-sockets-in-ue4-26/477952 "2021-02-15T08:18:12Z")

</div>

I have two static meshes, each of which has had a “socket” attached to it through the static mesh editor. One static mesh is placed into a new blueprint as the “parent” and the second as the child. It should now be a s…

---

## [How to get reference to bone instead of getting socket by name](https://forums.unrealengine.com/t/how-to-get-reference-to-bone-instead-of-getting-socket-by-name/471583)

<div class="topic-metadata">

**Author:** [@VadimVdovenko](https://forums.unrealengine.com/u/VadimVdovenko)\
**Replies:** 0\
**Last updated:** [September 19, 2020, 8:36am UTC](https://forums.unrealengine.com/t/how-to-get-reference-to-bone-instead-of-getting-socket-by-name/471583 "2020-09-19T08:36:06Z")

</div>

Hey there! as a unity developer, i’m used to the fact that references to objects that I’m going to access often need to be cached in advance, because frequent search for objects by name affects performance. for example,…

---

## [Socket doesnt follow animation](https://forums.unrealengine.com/t/socket-doesnt-follow-animation/470537)

<div class="topic-metadata">

**Author:** [@Matgarciaz](https://forums.unrealengine.com/u/Matgarciaz)\
**Replies:** 1\
**Last updated:** [August 30, 2020, 2:43pm UTC](https://forums.unrealengine.com/t/socket-doesnt-follow-animation/470537 "2020-08-30T14:43:18Z")

</div>

I am trying to have my player pick up weapons by using a socket created in the engine. Whenever I pick up my weapon the actor (using attachtocomponent()) doesnt follow the animations its currently in. Even if I move the…

---

## [Attaching UStaticMeshComponent to Sockets Not Working](https://forums.unrealengine.com/t/attaching-ustaticmeshcomponent-to-sockets-not-working/468214)

<div class="topic-metadata">

**Author:** [@jssjogren](https://forums.unrealengine.com/u/jssjogren)\
**Replies:** 2\
**Last updated:** [July 16, 2020, 1:37pm UTC](https://forums.unrealengine.com/t/attaching-ustaticmeshcomponent-to-sockets-not-working/468214 "2020-07-16T13:37:29Z")

</div>

BatonHand = CreateDefaultSubobject(TEXT(“Baton Active”)); BatonHip = CreateDefaultSubobject(TEXT(“Baton Sheath”)); BatonHand-\>AttachToComponent(this-\>GetMesh(), FAttachmentTransformRules::SnapToTargetIncludingScale, FN…

---

## [Importing Sockets Correctly?](https://forums.unrealengine.com/t/importing-sockets-correctly/462305)

<div class="topic-metadata">

**Author:** [@F0RM4TION](https://forums.unrealengine.com/u/F0RM4TION)\
**Replies:** 2\
**Last updated:** [July 14, 2020, 5:57pm UTC](https://forums.unrealengine.com/t/importing-sockets-correctly/462305 "2020-07-14T17:57:35Z")

</div>

is there a progrem that uses the same rotation style as ue4? im currently using 3ds max but when i import the fbx to ue4 the rotations change. im guessing its because counter clockwise in 3ds max is positive and in ue4 c…

---

## [Spawn at location](https://forums.unrealengine.com/t/spawn-at-location/467916)

<div class="topic-metadata">

**Author:** [@Rag1804](https://forums.unrealengine.com/u/Rag1804)\
**Replies:** 3\
**Last updated:** [July 9, 2020, 3:04pm UTC](https://forums.unrealengine.com/t/spawn-at-location/467916 "2020-07-09T15:04:50Z")

</div>

I am trying for a tps by following some tutorials and created sockets but when i try to attach gun to that socket they are going somewhere else i didn’t understand why is this happen. Please let me know where i made mist…

---

## [Does Snapping to a Socket no longer work in Level Editor?](https://forums.unrealengine.com/t/does-snapping-to-a-socket-no-longer-work-in-level-editor/464438)

<div class="topic-metadata">

**Author:** [@Krentist](https://forums.unrealengine.com/u/Krentist)\
**Replies:** 0\
**Last updated:** [May 2, 2020, 6:52am UTC](https://forums.unrealengine.com/t/does-snapping-to-a-socket-no-longer-work-in-level-editor/464438 "2020-05-02T06:52:51Z")

</div>

I’m trying to snap a weapon (skeletal mesh) to a socket on my character mesh’s hand, and tried following the steps in this UE tutorial ( SkeletalMeshSockets | Unreal Engine Documentation ) to do “Attach To” and then cho…

---

## [Not able to open socket manager](https://forums.unrealengine.com/t/not-able-to-open-socket-manager/457524)

<div class="topic-metadata">

**Author:** [@THUND3RCALL999](https://forums.unrealengine.com/u/THUND3RCALL999)\
**Replies:** 0\
**Last updated:** [October 25, 2019, 1:50pm UTC](https://forums.unrealengine.com/t/not-able-to-open-socket-manager/457524 "2019-10-25T13:50:43Z")

</div>

So I am making a baseball game, and I wanted to start with the pitching machine. Everything was going great and I even made the sockets. I was using a video tutorial for how to make a turret and was just going to turn th…

---

## [C++ component attachments and deriving to BP](https://forums.unrealengine.com/t/c-component-attachments-and-deriving-to-bp/456373)

<div class="topic-metadata">

**Author:** [@Endersky1](https://forums.unrealengine.com/u/Endersky1)\
**Replies:** 6\
**Last updated:** [October 8, 2019, 8:00pm UTC](https://forums.unrealengine.com/t/c-component-attachments-and-deriving-to-bp/456373 "2019-10-08T20:00:43Z")

</div>

I have started a project in which I’m determined to learn how to use C++ because I’m used to blueprints now and I prefer programming than BP so excuse me if this is a stupid question. I am working on a player character c…

---

## [How do I have a skeletal mesh attached to a parent bone only follow location?](https://forums.unrealengine.com/t/how-do-i-have-a-skeletal-mesh-attached-to-a-parent-bone-only-follow-location/455686)

<div class="topic-metadata">

**Author:** [@Bionic\_Leaf](https://forums.unrealengine.com/u/Bionic_Leaf)\
**Replies:** 1\
**Last updated:** [September 22, 2019, 8:07am UTC](https://forums.unrealengine.com/t/how-do-i-have-a-skeletal-mesh-attached-to-a-parent-bone-only-follow-location/455686 "2019-09-22T08:07:27Z")

</div>

Hi, I’m dabbling with first-person games and I ran into an issue. When my character picks up a gun it sockets to a bone in the palm I created, but the rotation is all off. Is there a way I can have it socketed to the bon…

---

## [Best workflow for Importing Static Mesh To Socket and Maintaining Position](https://forums.unrealengine.com/t/best-workflow-for-importing-static-mesh-to-socket-and-maintaining-position/453306)

<div class="topic-metadata">

**Author:** [@ProfessorPee](https://forums.unrealengine.com/u/ProfessorPee)\
**Replies:** 0\
**Last updated:** [August 3, 2019, 4:46pm UTC](https://forums.unrealengine.com/t/best-workflow-for-importing-static-mesh-to-socket-and-maintaining-position/453306 "2019-08-03T16:46:51Z")

</div>

If I import a character from an fbx, and he’s wearing a hat, and I want to parent the hat to a socket on the head, I cannot figure out a way to attach this mesh to a socket and have it be in the right position, it’s alwa…

---

## [Attach a spawned mesh to a socket](https://forums.unrealengine.com/t/attach-a-spawned-mesh-to-a-socket/444632)

<div class="topic-metadata">

**Author:** [@aabun](https://forums.unrealengine.com/u/aabun)\
**Replies:** 2\
**Last updated:** [March 5, 2019, 3:36pm UTC](https://forums.unrealengine.com/t/attach-a-spawned-mesh-to-a-socket/444632 "2019-03-05T15:36:47Z")

</div>

I am working on attach/detach a spawned mesh (lollipop) to a socket of skeletal mesh (kid), but the mesh is floating in the distance to the socket. I suspect that my skeleton doesn’t have hierarchy of the Epic mannequin…

---

## [Attaching object to AI character's socket runtime](https://forums.unrealengine.com/t/attaching-object-to-ai-characters-socket-runtime/444139)

<div class="topic-metadata">

**Author:** [@aabun](https://forums.unrealengine.com/u/aabun)\
**Replies:** 0\
**Last updated:** [February 25, 2019, 9:11pm UTC](https://forums.unrealengine.com/t/attaching-object-to-ai-characters-socket-runtime/444139 "2019-02-25T21:11:56Z")

</div>

My player character “meets” AI character and is supposed to “give” him an object. I created a socket on the AI character skeleton (that’s same as my player, by the way), then I try to spawn the object and attach it to A…

---

## [Attach camera to socket c++](https://forums.unrealengine.com/t/attach-camera-to-socket-c/444048)

<div class="topic-metadata">

**Author:** [@Rayman30011](https://forums.unrealengine.com/u/Rayman30011)\
**Replies:** 3\
**Last updated:** [February 25, 2019, 1:57pm UTC](https://forums.unrealengine.com/t/attach-camera-to-socket-c/444048 "2019-02-25T13:57:38Z")

</div>

Hi! I have sample third person project. I need attach camera to skeletal mesh socket. I did so: FollowCamera = CreateDefaultSubobject\<UCameraComponent(TEXT("FollowCamera")); FollowCamera-\>SetupAttachment(GetMesh(), FN…

---

## [LineTrace puts a held object through the ground](https://forums.unrealengine.com/t/linetrace-puts-a-held-object-through-the-ground/442989)

<div class="topic-metadata">

**Author:** [@HawkTeevs](https://forums.unrealengine.com/u/HawkTeevs)\
**Replies:** 8\
**Last updated:** [February 11, 2019, 8:56am UTC](https://forums.unrealengine.com/t/linetrace-puts-a-held-object-through-the-ground/442989 "2019-02-11T08:56:06Z")

</div>

I have created a system where when the player presses f, it will do a line trace and attach an object to a socket. I have another set of code to when the player right-clicks, it does another line trace and detaches it fr…

---

## [Weapon won't connet to socket after I detached it](https://forums.unrealengine.com/t/weapon-wont-connet-to-socket-after-i-detached-it/440675)

<div class="topic-metadata">

**Author:** [@Gensuke](https://forums.unrealengine.com/u/Gensuke)\
**Replies:** 1\
**Last updated:** [January 14, 2019, 8:40pm UTC](https://forums.unrealengine.com/t/weapon-wont-connet-to-socket-after-i-detached-it/440675 "2019-01-14T20:40:10Z")

</div>

I pick my weapon up with linetrace and add the actor to my socket. When I drop the weapon I use detatch from component & simulate physics for a view seconds. But this is only working for the first pick up. When I do m…

---

## [How to accurately replicate socket location](https://forums.unrealengine.com/t/how-to-accurately-replicate-socket-location/441105)

<div class="topic-metadata">

**Author:** [@Sntfon100](https://forums.unrealengine.com/u/Sntfon100)\
**Replies:** 0\
**Last updated:** [January 11, 2019, 3:53pm UTC](https://forums.unrealengine.com/t/how-to-accurately-replicate-socket-location/441105 "2019-01-11T15:53:27Z")

</div>

When I spawn a muzzle flash particle effect on my gun’s Muzzle socket (Using Spawn emitter attached), the muzzle flash is not always 100% accurate to the clients, I’m using get socket location, and the muzzle flash seems…

---

## [How do I make my bullet go to my crosshair?](https://forums.unrealengine.com/t/how-do-i-make-my-bullet-go-to-my-crosshair/437236)

<div class="topic-metadata">

**Author:** [@OG\_FATFACE\_420](https://forums.unrealengine.com/u/OG_FATFACE_420)\
**Replies:** 5\
**Last updated:** [November 8, 2018, 4:01pm UTC](https://forums.unrealengine.com/t/how-do-i-make-my-bullet-go-to-my-crosshair/437236 "2018-11-08T16:01:35Z")

</div>

So, I have a Crosshair in the direct middle of my screen. I have a weapon set up that when I fire, it will use the spawn actor class node to spawn in the bullet. The only problem is, that the bullet goes where ever my gu…

---

## [Get All Socket](https://forums.unrealengine.com/t/get-all-socket/436250)

<div class="topic-metadata">

**Author:** [@anon89423513](https://forums.unrealengine.com/u/anon89423513)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 8:11pm UTC](https://forums.unrealengine.com/t/get-all-socket/436250 "2018-10-24T20:11:41Z")

</div>

Hello everyone ! I’m making a turret with multiple barrels (Approx. 10), and I need to get all the socket that I created with the “Add Socket” function in the Skeleton mode of my turret, to spawn my projectile from all …

---

## [Spaceship turret with it's own AI](https://forums.unrealengine.com/t/spaceship-turret-with-its-own-ai/432559)

<div class="topic-metadata">

**Author:** [@Evertoo](https://forums.unrealengine.com/u/Evertoo)\
**Replies:** 4\
**Last updated:** [August 30, 2018, 7:04am UTC](https://forums.unrealengine.com/t/spaceship-turret-with-its-own-ai/432559 "2018-08-30T07:04:09Z")

</div>

Hi I’d like to create a spaceship with turrets that target other spaceships. each turret with its own Sense component It works fine, the turret can see the target, and rotate, but when i attach it to a socket, it’s …

---

## [Attached to socket components positioning wrong](https://forums.unrealengine.com/t/attached-to-socket-components-positioning-wrong/430893)

<div class="topic-metadata">

**Author:** [@needforgrib](https://forums.unrealengine.com/u/needforgrib)\
**Replies:** 1\
**Last updated:** [August 8, 2018, 1:05pm UTC](https://forums.unrealengine.com/t/attached-to-socket-components-positioning-wrong/430893 "2018-08-08T13:05:43Z")

</div>

I don’t remember exactly when it happened, I lost this momemnt. I think when I migrated to 4.19 version from 4.16. All worked exaclty as expected, but one moment I noticed this weird behaviour. I have a mesh and collis…

[Next page](https://forums.unrealengine.com/tag/socket-reference/10489.md?match_all_tags=true&page=1&tags%5B%5D=socket-reference)
