Attach to Compent node only runs after World Outliner selection
I have a first person character that needs to be able to wear a welding mask when the player equips it. The mask is a separate blueprint from the character, and has a skeletal mesh component that attaches itself to the player's camera when created/equipped. The attached blueprint is used to do this(this is on the mask itself). It works just fine right up until the AttachToComponent node, which seems to be getting ignored. This causes the mask to just hang in space at it's spawn point without moving, regardless of what the player does. The mask does appear as a child of the character in the Outliner though, so I guess the AttachToComponent node isn't getting completely ignored... Here's the interesting bit; if I hit shift+F1 during game play, go and select the mask in the World Outliner, and select the game window again, the mask follows the camera like it's supposed to.
I might just be doing something wrong, but I thought the change in behavior after selection in the Outliner was interesting...any ideas are welcomed.
Try giving it a socket. Add a socket to the "head" bone and use the name you give it in the attach node.
answered Mar 04 '18 at 08:43 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here