I have been making a game for Uni which is an endless runner, I have been trying to implement a shooting aspect for it, where it will shoot towards the mouse cursor, but can’t find the information to accomplish it.
At the moment the projectile just shoots in a straight line, which is fine, but it is only on one axis. I have created a basic crosshair for the HUD which follows the mouse as you run, but no matter what i try, i cant get it to shoot towards the crosshair.
Heres my shoot projectile BP, ignore the ammo thing, i have a reload mechanic.
Here is a video of the game upto yet (excluding the crosshair)
[video]Moon Runner Update Video (endless runner) - YouTube
Thanks for all future replies