Problem:
No cursor to click on the enemy, therefore nothing to trigger a ranged attack.
Solution:
Ok so I’m gonna break this down step by step:
- Player aims in the direction of the enemy by looking at them
- Player presses a designated ranged attack button on controller / keyboard
- Missile shoots out
- If enemy is in line of sight aim assist will mildly adjust the direction of the shot so it collides with the enemy then hit points will be reduced etc. - if enemy is not in line of sight then the missile will continue straight until it hits a solid object.