I’m new to Unreal Engine 5 and tried making an adventure game, but it went downhill when I had to snap my gun to the character. My gun has now snapped to the legs of my character, and I don’t know why because I made a socket for the hand_r. Here are some pictures that I have so far.
Hi @jdawgjamz welcome to the forums ! Thank you for all of the context you’ve shared this helps a lot, if it’s not too much of a bother could you please answer the following questions. Based on your answers I will try and replicate your settings on my end to see if we can find a solution together.
What version of the engine you are using?
Were you following any specific tutorials/instructions to add the weapon to your character?
If you have any additional information that you would like to add please feel free to do so
While you are doing that let me suggest the following fix to see if it might work (please back up your work in case this doesn’t work)
In your BP_FirstPersonCharacter 's event graph, let’s repoint that Parent pin from “FirstPersonMesh” to Mesh
Find the Attach Actor to Component node
From the Components panel on the left, drag the mesh (CharacterMesh) component into the graph, this will create a “get Mesh” node.
Plug it’s output into the Parent pin (it will replace the wire coming from FirstPersonMesh)
Delete the unused nodes and Compile and Save. Then test it to see if it worked