NavMesh at Runtime?
Is there a way to build the navmesh at runtime? I'm making a 3D game with building mechanics, but I can't have the navmesh agents going through walls and such. I am aware there's an asset for this-...
View ArticleHow to make enemy move through walls?
I am working on an enemy that should only move when the player is not looking at it. I tried using the Renderer.isVisible and everything works but if I look in the direction of the enemy through a wall...
View ArticleNav Mesh Agent pauses each time I update its destination?
Hello, I'm having an issue in my game where my Nav Mesh Agent pauses every time I update its position. Here is my code for how my Nav Mesh Agent updates the target it's pursuing: public void...
View ArticleHow to make enemy move through walls?
I am working on an enemy that should only move when the player is not looking at it. I tried using the Renderer.isVisible and everything works but if I look in the direction of the enemy through a wall...
View ArticleNavmesh agent returns path with corners in wrong order
I am using a navmesh with agents to calculate paths in fairly large map. I am not using the agent's movement, just SetDestination and then just getting the path's info to move the entities myself. It...
View ArticleHow to make a game like Tank trouble
Hi, I'm new to Unity and want to learn how to make a game like **tank trouble** on **mobile**. So far I have managed to make a **controller** for the tank (mainly) and the movement of the...
View ArticleHello, so i got a little problem with my NavMesh Agent witch is that NavMesh...
![alt text][1] [1]: /storage/temp/206599-screenshot-57.png
View ArticleShaking Companion
My companion seems to shake when i hit him or he hits me. Do you guys know any other to this? (ps my code) public class bobcore : MonoBehaviour { public Transform target; public NavMeshAgent nav; //...
View ArticleObject is affected by animation that isn't playing
I am making a game where zombies climb out of windows to spawn. However, when I put the climb animation in the animator, even when it isn't used AT ALL, it still affects the other animations. The other...
View ArticleNavMeshAgent for Animal
I have a NavMeshAgent for a animal. The problem is that it only punctual avoid being outside of the NavMesh, so my animal glitches in walls. Is there any solution to make the Radius of the NavMeshAgent...
View ArticleHow can I instantiate a prefab at runtime using a script on a NavMesh?,How...
I am attempting to instantiate prefabs in a manager script for a simulation. There are several dozen prefabs and the user uploads a CSV file where each row has the prefab name, its starting...
View ArticleI have a nav mash rotation problem,NavMash rotation problem
I have a gameObject that has nav mash agent on it. When I run the game destination works fine, but rotation is the problem. Like it goes to destination but rotated to side , not default rotation. Here'...
View ArticleUnity NavMesh Update Data Without Baking
Hey everyone in my game there is some peasents walking around in a landpiece. Player is able to unlock new lands(as you can guess it is a arcade idle game). When player unlocks a land i want to make my...
View ArticleNavmesh and AI climbing ladder
I want my Navmesh agent to follow through path and if ladder is seen then climb it and end the journey. Already did Navmesh link to connect between two mesh. But problem is it can't just get the next...
View ArticleNavMeshAgent npc starts flying when I enter game scene
Regardless![alt text][1] of what I do, my NavMesh Agent either keeps going up or down when I change the Base Offset. If I make it too low the npc starts going into the ground and if I make it too high...
View ArticleNavmesh Agent not moving right
I am trying to make a nav mesh agent go to a point, and when that point changes, head to that new location. At first it wouldn’t move at all if the point was too far, so I set up a system to target a...
View ArticleCan you think of a good way to mimic the behavior of NavAgent.destination?
Okay so, for convoluted reasons, I'm not using NavAgents for my path finding. I want to control Enemy AI with my own scripts. I am however using NavMesh and CalculatePath() for path finding, and then I...
View ArticleHow to edit NavMesh
I am creating enemy AI in my game using a NavMeshAgent. However when I bake it, the area underneath the buildings in my game are also being baked. (These buildings have a box collider on) I have tried...
View ArticleCalculating Navmesh Escape Route Help
I have a simple scenario but the solution is proving illusive for some reason. I have a series of escape Vector3 Points around my map. When the Player gets to within a certain distance of an enemy I...
View Articlehow to make all NPCs with NavMeshAgent Compoent Avoid Player's gameobject...
In my project player's gameobject has it's own script to control motion. I notice that if I attach the NavMeshAgent to player's game over always get some unexpected motions. So I disabled it. Is there...
View Article