Hello, i made a simple moving navmesh object on plain terrain using behaviortree. I use a script to destory the game object,
but when i invoke Destroy(this.gameobject) , it takes up to 3-5 frames (1-2 seconds) to be destroyed. Why does it happen?
Thanks,
I tested some more things and I tried to remove the obfuscator and for some reason, I still get this error after a build
on the editor, the game works fine only when I do build it won't work for some reason any idea why?
Hey, I did a build and I am getting error that the object don't have root object
any chance is it because of obfuscator?
what classes do I need to add to it? so it will work fine
Thank you,
I want the agent to attack the player, I don't use the character controller
I use search and within distance so the AI does work he finds it and attacks it the thing is when the player will crouch the ai will still attack but he will hit nothing because the player is crouching
Hey, my ai is working fine but when the player will crouch the ai will still see it and attack but the sword will not hit him
any tips on how I should handle it?
thank you
Thank you, I checked a few things seems that if I set the stopping distance to something like 1.6 he will not work and will go to the same place
but If i set it to 2 it will work fine any idea why?
I think I found the problem, seems it will only run the node only one time, and then when he arrived at a random location he just stopped and won't search why?
I did a debug when he search and set target and after he got to the first location he just stopped running the debug but on the tree...
Hey thank you, I tried it but it does kinda work the thing is the AI will go to the same place for some reason and he will stop there:/
Most of the tree is off I left only the death
even If I move the mob he will return to the place that he stopped
the settings that I did in the photo are fine...
I use the search node and It was working fine but I just notice that the mob sometimes will just go a bit forward and he will just stay there. only if he see a target he will move but if not he will stay in the same place and won't search
what should I do?
thanks