Hi,
I can't figure how to do a simple thing :
- I want an agent shooting at player repeatedly, while continuously facing towards the player.
In this screenshot, attacking is replaced by playing a sound.
I want the blue sequence (attack) and red sequence (rotate) playing in parallel (at every tick)
Sadly, if the player continuously move around the agent, the rotate toward task is always in "Running" state (because it can't exactly reach the direction)
So the blue sequence is not re-evaluated. And the agent feel likes rotating but unable to shoot at player at same time
Any way to do this ?
I can't figure how to do a simple thing :
- I want an agent shooting at player repeatedly, while continuously facing towards the player.
In this screenshot, attacking is replaced by playing a sound.
I want the blue sequence (attack) and red sequence (rotate) playing in parallel (at every tick)
Sadly, if the player continuously move around the agent, the rotate toward task is always in "Running" state (because it can't exactly reach the direction)
So the blue sequence is not re-evaluated. And the agent feel likes rotating but unable to shoot at player at same time
Any way to do this ?