Scene component

I wondered if there was a way to make a scene component of my character fit into a bone of the character.

Yes, you can attach a Scene Component to a bone of your character in Unreal Engine. You can achieve this by using the “Attach to Component” or “Attach to Actor” node in Blueprints.

Here’s an example of how you would attach a Scene Component to a bone of your character in Blueprints:

  • In the Components panel of your character’s Blueprint, add a new Scene Component.
  • In the graph, create a variable of type “Scene Component” and set it to the Scene Component you just added.
  • Create a “Get Skeletal Mesh Component” node and set it to the Skeletal Mesh Component of your character
  • Create a “Get Socket Location” node, set the component to the “Skeletal Mesh Component” variable, and set the Socket Name to the name of the bone that you want to attach the Scene Component to.
  • Create an “Attach to Component” node and set the Scene Component variable as the “Attachment” and the “Get Socket Location” node as the “Component” variable.

This will attach the Scene Component to the specified bone of the character’s Skeletal Mesh Component. It’s important to note that the exact method to achieve this can vary depending on the specific setup of your project and the character’s Blueprint structure.