Ask here your questions to get help using GDevelop.
By Umar
#68057 My enemy have a Topdownmovment behavior. Now I have written some logic that they can detect when the wall is blocking their aim. That's done. So now they chose the position where they can attack the base easily. but the problem is that they are facing away.
Now what I want them to move towards the base until they are aiming at the base correctly, so that they can attack.
Attachments
Untitled.png
Untitled.png (116.7 KiB) Viewed 88 times
Untitled 2.png
Untitled 2.png (999.83 KiB) Viewed 88 times
User avatar
By Lizard-13
#68070 Did you manage to solve this?, it's a bit hard because there is lot of code already, and not sure why you are marking those conditions?. But you're already checking if the Car is not rotated towards the Base, if so you should rotate it, then if it's rotated towards base fire. By the way the gun is a separated object following the tank?