Attaching an object to the First Person Controller Camera

I just followed a tutorial and this was written there:
“We want the weapon to be attached to the player so it changes its position whenever the player’s position changes. This is very easy due to Unity’s Hierarchy. All we have to do is make the weapon a child of the Main Camera by dragging it onto the Main Camera:”

That works, but it makes the movement really weird. Sometimes you jump extremely high out of nowhere, or just bug around stucking somewhere and so on. When I remove the weapon object (cylinder) as a child of main camera everything works as intended. Is there something I do wrong?

Found the solution, just remove the collider on the weapon :stuck_out_tongue:

2 Likes