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?
For the position of the mouse, use a Raycast To Variable node to store the position below the cursor into a Vector3 variable, which you can use for the movement as target position. The node has a Use Mouse Position option for that :)
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Thank you @Wrofir It was Battle Event and Control Map. Thank you so much for the guide. I didn't thought about it before. I'm using built in Camera Control > Mouse. Very useful to see in different angles for testing :)
For the position of the mouse, use a Raycast To Variable node to store the position below the cursor into a Vector3 variable, which you can use for the movement as target position. The node has a Use Mouse Position option for that :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I can't use ability in field. (I tried Usable In > Both and Usable In > Field But still not working in field)
I'm sure that i'm missing something but I can't figure it out. Appreciate your help :)
2. what camera angle do you use? top down?
I'm using built in Camera Control > Mouse. Very useful to see in different angles for testing :)