grinseengel Posted February 4, 2019 Share Posted February 4, 2019 Hello, I have a problem again. If I pack a crawler model in my level with the monsterAI script then this works very well with the player recognition. The crawler discovers the player and chases him. If I add a crawler model, both crawlers will stop. The running animation they execute. But you do not hunt the player. When I get closer to the crawlers as a player, nothing happens. Only when I am close to the crawlers and then shoot you move towards the player. Can someone help me? What am I doing wrong? Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted February 4, 2019 Share Posted February 4, 2019 What do you mean with pack? Do you mean 'placed it in the level' or did you make a prefab? Can you post a working project (excluding assets that are not needed to reduce file size)? I will have a look this evening. Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted February 4, 2019 Share Posted February 4, 2019 Have you generated a Navmesh? https://www.leadwerks.com/learn?page=Tutorials_Games_First-Person-Shooter_AI-Pathfinding-and-Events Quote Link to comment Share on other sites More sharing options...
grinseengel Posted February 5, 2019 Author Share Posted February 5, 2019 Thank you for the info. I have not saved the crawlers as prefab. Now several crawlers work independently of each other. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.