Help pls - it kills me for more than 2 weeks, every tick
Is there a way to combine: Turret, Line of Sight and Path finding in multiplayer game. All combinations just **** glitch and make me angry. The biggest problem is that the AI firing into the wall, since for the player to a shorter distance. Or ignore the other players and selects only one. I've tried more than 5 different ways. Changes the distances, viewing angles, events algorithms, variables and etc.
The problem persists. It seems to me that such a combination is not suitable for the multiplayer for a number of reasons.
Guys, can you help break through the ice? I've reviewed a lot of tutorials on the Internet, there's talk about basic things. This is not my situation.
I just want to correct, decent and optimal solution.
Can you advise? Maybe there any examples where the combined Turret, Line of Sight and Path finding in multiplayer game?
Thx!