Attach 2 Static Mesh Actors Togather Via Sockets
Racking my brain and looked and looked but does not seem possible. Take 2 simple static mesh boxes and make one socket on each box. In the blueprint use the AttachToActor and choose both boxes and the socket name for one of the boxes. Hook this up to a keyboard key.
Play and then press the key, what will happen when you run this is the socket from one box will attach to the pivot point of the second box. Is there a way to attach attach box one socket to box 2 socket.
The AttachToActor only has one socket option, it would seem like you would have another socket option for the 2nd actor.
I am making a build system and trying to snap one piece to another at run-time and though that snapping 2 sockets would be the easiest way but it does not seem like you can snap 2 sockets together.
You simply need to get the root component of one and attach it to the root component of the other specifying the socket name. Both actors only have StaticMeshComponents, so the root component of each is the StaticMeshComponent I believe
answered Jul 11 '18 at 04:55 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here