What I need is, When user hits Space key, needs to launch a fireball from user to mouse direction (or look at direction). I'm having few issues with this.
01. How to use ability without knowing the target. (If enemy hit the moving fireball enemy get damage, So ability doesn't need to have a target) 02. Is there a way to get mouse direction? I tried calling a function (LookAt mouse position) It's working fine, But is there a better way to do this?