How to parent an object in the blueprint?

Hello!

When game start’s, I’m spawning a firearm in front of my character. It automatically get’s parented to character, when in fact it should be parented in the camera of the character. What’s the method I should use to change the parent?

Hoping for answer, -DoctorPC

You can add the Firearm as a component and attach it to your CameraComponent.

OR

if you can manage set the CameraComponent as RootComponent, then the firearm will be attached to it.

Thank you!
I have enough programming experience to have learnt the way these systems work, and my question was more about “what words to use”. Partially because of missclick, partially because you included word “attach” in your answer, I got the solution, and can keep working on my project :slight_smile:

-DoctorPC