What did i do wrong? 3D SideScroller AimOffset

I’m trying to make character look to the mouse icon but having this problem
Max Look up is pic 4 min is pic 5 and there is an error problem


m




Whathappens when you pick up the glock? Is it destroyed?
Do this to solve the error:


On begin play save the glock reference and then on aim get the reference and then covert it to validate get. If its valid set the pitch, otherwise do nothing.

I did that before and yes error goes but then none of them works

Correct, because glock doesnt exist anymore and therefore cant get the component by tag

I also think that your pitch calculations are wrong

So? What should i do to fix that?

Does glock arrow location Z change or it is always static?

Changes. I attached it to Character’s hand.