Can someone in the name of god help me?

I’m doing a top down shooter and I’m trying to do the character shoot at mouse direction and I just can not, if I use the get hit result under cursor by channel it shoots straight to the ground, right above where the cursor is and I want the shot go forward in the direction of the cursor, if I use spawn projectile it goes forward, but it never goes right in the direction of the cursor, it always goes from one side or the other, PLS HELP!

In order to help out it would be useful to know what you are working with. Are you building this with code of blueprint and can you show us what the current code or bp you have looks like so we can get a better idea where you might be having trouble.

Also try to use a better title for your topic. Imagine if everyone would using a title like yours… this forum would be useless. A short description of your problem in the title might attract the people with the answer.

Not a believer in God, but from the sounds of it your issue is your hit result under cursor is taking the location of the hit and you’re not adjusting for the height you want. I’m going to assume you’re using Blueprints.

I would take the hit under cursor, break the hit location’s vector and remake it linking the X and Y, but setting the Z to the same height that your projectile is firing from (therefore making it fire parallel to the ground). But as others have said, more information is key to resolving your issue and setting the thread title as something clear to your issue will help getting a quick response, though I can get when starting out it’s hard to know what you’re asking for.

In that case though, I’d suggest checking out some tutorials (Youtube search for “Top Down Shooter UE4” for example).

This is the answer. You’re at the level where you need to listen and learn a little bit more before it all clicks.