I need to make it look less like A and more like B in this diagram. I got my character to finally aim at a target and fire by using a SetFocus node connected to the AIController and checked the boxes in the AIController for “Use controller rotation” For Yaw, and it could hit a target standing at the same height only. To aim up and down I had to check the box for Pitch as well, but now he just rotates at the center point, seemingly floating in the air if the target is high or low enough. How do I set it to bend at the waist and leave his feet on the floor?
Well… I have a tutorial on AI that shows how to do what you want… watch it here: [OUTDATED]How to make a AAA FPS From Scratch UE4 [EP.16 How to make an AI with Blueprints!!] - YouTube
I will be updating this and fixing some shooting issues that he has, but it works for what it is.
Althrough i’m working with AI cars, I presume that human AI can inherit the character animation assets and BP.
I would recommend to take a look in the Animation map from ContentExample form Learn Tab at the Epic Launch, the map contains a playable character that aims up and down without moving the entire rig, it also comes with this documentation for setting up the character
Thanks but I watched that whole thing and I didn’t see which part applies to my issue. My NPC aims left and right just fight but aiming UP is the problem. I didn’t see anything in your video that dealt with that or AimOffset. Was it in another video? If so which one and at what time on the timeline?
I’m having this issue now and cannot find an answer. @ [Unisink2020] if you have found a solution can you please share it here?