Shoot Projectiles at Mouse Pointer in a 3d space

Hi there!
Is available any way of shooting projectiles at mouse pointer in a 3d space from an actor blueprint?

Yes there is. Provide more details.
Going from 2D (mouse pointer ) to 3D , requires to add a coordinate (Z) from nothing. So this is something that must result from design.

Here is another question I have answered that is the same question:

How to shoot at mouse location.

what do you mean by design?

Well I’ve tried yours already and as a result the projectile flies only in one direction no matter how I rotate my character or how I change the mouse position

I basically have a pawn that can rotate around around following the mouse position and I try to make a projectile leave one of the child actor towards mouse location.

Have you tried something along the lines of:

Yea unfortunately and as a result the projectile flies backwards, towards me.

Is there a way to make a line trace from camera to mouse cursor and the weapon that i’ve created to fire there if hits something, if not to fire at the max range?

You want it to go the other way? then just switch the start and target of the look at rotation.

You can check to see if the linetrace results in a hit, if it does then execute code to fire at that target, if not tell it to fire at max range. Just use the “return Value” on the end of the line trace node.

ok. So I have managed to shoot at target location but it doesn’t seem to be accurate…it’s like very near from it. I want to mention that the srojectile is fired from a side to that hit location and the trace channel if fired from camera. Any ideeas ?

All right! After many trials I managed to pull it up. Thanks for your response guys. That gave me a glimps of what I have to do.