Download

Enemy firing at player issue with y axis

I have a sphere firing a projectile at the player. First the enemy is rotated at the player and then based also on the rotation between the sphere and the player it spawns an actor(projectile) which has a speed on it. The problem is i can go under or over the sphere and the sphere/projectile does not firing up or down only ever strait out from the sphere just in the direction i am. Any help or suggestions are much appreciated.

Projectile spawning section

cbe252a5172bc21f039c54e6fd9f16a5bee8cb12.png

Sphere rotation

d25f20f9fc6c3aac093746370ddfefa119d3eac2.png

Anyone have an idea ?