AI shoot your direction

It helps if you show the code, if any, that you have attempted so far so we know either what you did wrong or what we can use to eliminate any problems which helps provide better solutions.

I would suggest using the “Find Look at Rotation” node then setting your AI’s rotation to that result.