[SOLVED] Gun does not follow viewport

Hello everyone!

My problem is that I wish to have my tool (gravity gun) follow the view port.

Screenshot of character root:

128518-1.png

I am trying to have “gun” follow the view port, but I have no idea where to start. When I rotate side to side, the gun follows, but up and down it does not… Assistance?

Side-to-side rotation is handled by the Capsule Component but vertical rotation is managed by the Camera Component. Try to add a Camera Component to your Character and attach the gun to the Camera.

Ok, this has been solved! I just needed to enable Use Controller Rotation Pitch and then parent the Gun to the Camera Component.