Component isn't snapping to socket in other component

131938-bp.png

I’m using 4.15.1. The target is being attached to the parent. But I also want it to go to a specific socket, which I’ve written in it, which is a socket in the of the parent. But it doesn’t go there. It just acts as if there was no socket name typed there at all. Yes I’ve spellt it right.

I’ve asked about this already but nobody knows why it’s not working. I’ve spent a week trying to figure it out too and I can’t find an answer anywhere. The only next step is to report it as a bug because either it is or everyone is stupid.

Hello Peej,

I was unable to reproduce your issue on our end. I have a couple of questions that will help me narrow down your issue:

  1. Can you reproduce your issue in a new project?
  2. If so, could you provide a detailed list of steps so I can reproduce your issue on our end?
  3. Could you provide screenshots for socket on the ?

Thanks!

Thank you so much for actually helping me with my problem! I guess I should’ve made a bug report all along. OK I will do those things tomorrow because it’s late for me now.

I’ve tried to replicate what I’ve done in my project in a new project, but one of the things I’m trying to use has since been removed, and on my project it says it’s depricated. What would I use instead of ‘Attach actor to component (depricated)’, because I can’t find one that will work?

In your original project could you provide screenshots of the object you are trying to attach to the socket and the full blueprint where the attach to component is?

This is in the player character (this is the bit that doesn’t work):

131938-bp.png

This is in the actor called front right tentacle to attach it to the correct socket on the player character (this bit works):

132082-bp2.png

Could you send me your project so I can investigate the issue in your project directly? You can send a private message to me on the forums here:

Hey Peej,

I used this set-up in your Character constructor script and got it to attach to the correct component!

Thank you, this appears to be working, but when I do this and I run it it’s as if I’m looking from the point of view of the gun. In the viewport everything is tiny and sideways. What’s causing this?

to fix that issue I saved the project, closed and re-opened, then I deleted the third person character, then added a new one back into the level. You will also have to rotate your third person character as it will be sideways as well!

THANK YOU SO MUCH. It’s been weeks but I can finally continue. The viewport in the character edit screen was completely messed up, but then it changed back to normal and now it’s fixed itself.

Now I’m going to make an animation for that tentacle mesh to make it look like it’s holding the gun properly. Eventually it will be able to hold any combination of guns in 4 of it’s tentacles.