How do I get the character to aim up or down TDS?

hey guys! I have set up this (kind of) “auto aim” for a Top Down Shooter, but i cant get the character to aim up or down if the enemies are above or below him.

is there a way to translate pawn location to controller Pitch?

please se this video and code


None a single answer? is this to easy or too difficult?

i would go out on a limb and say neither. they just aren’t interested in answering.

-give your maps lvls (ground lvl is lvl 2 basements are lvl1 and you can go up from there.)

-give your chars aim up aim down animations

-when the player wants to hit a target up in a window they use the “hit lvl 3 option” and thy see aim up animation.

let me know how this works i am trying to get a job fixing bugs. to be fair you had a game design issue not a bug and there will be much more reluctance to answer those questions. if this works and you want more help let me know i want all the profile i can build for jobs.

simplest way is to use TransformModifyBone() in the AnimGraph

Save your pitch from your find look at node, get it in the animgraph and plug it in to the Transform bone, spine_03 is usually good, you may need to convert from world space to bone space though

Thanks for your message, Can you make an example or do you know any source material about this?
sorry, noob speaking

hi, i only have about 1 year learning Unreal… its been quite a challenge since i don’t have any access to learning this stuffs in my country… you can imagine the kinds of bugs i had to fix lol… any way thanks for the help!!!
can you send me some video about this?

same for me.
you want the aim offset to auto-trace the enemy?
if so,the aim offset can be calculated like this.


If you have problems implementing it.you could tell me.

Thanks for the help, i’ve been trying several ways but always end up rotating the entire character or bending it over like in the video above

I did some experiments and it turned out super easy.no need any calculation.


example BP

I assume you have set up an aim offset…

OMG thank you so much!! you helped me big time with this tip… one last question is… how do i set the pitch back to normal?

Simplest way is set pitch to 0 while not shooting.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.