News › Forums › RAIN › General Discussion and Troubleshooting › Nav Mesh Problem
Tagged: navMesh
This topic contains 6 replies, has 3 voices, and was last updated by prime 1 year, 7 months ago.
-
AuthorPosts
-
October 24, 2022 at 1:25 pm #4573
I have a probelm with creating NavMesh, as usual it may be me being thick
okay I create a new project
create a plane
Reset the plane (click the little cog in inspector)
Make it x = 50 Y = 1 and Z= 50 (50 by 50)
its on the Default Layer
Create a directional lightRAIN meu at the top Create NavMesh (New black inspector window appears)
I leave the defaults
Size 20
Display mode NavigationMesh
Include Layers Everything
Max Slope 45
Walkable Height 2
Walkable Redius 0.55
Step height 0.75
Cell size 0.1Click Generate NavMesh (take a couple of seconds)
it generates a tiny navmesh in the middleSo I’m thinking its made size 20 cell size 0.1 = a 2 by 2 nav mesh
So okay I’ll make the cell size 1 instead of 0.1
Generate navMesh and basically no change still smallSo I think Okay I’ll set the Cell size back to 0.1
and make the size 200Click generate NavMesh and OVER 4 minutes later its made it
Now I have a Big F-off PC - it weighs 6 stone with 2 GeForce GTX 480 cards
I’ll cut n paste some dxDiag below I can give you full dxDiag text if it will help
What am I doing Wrong??Machine name: ALIEN
Operating System: Windows 7 Ultimate 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.130318-1533)
Language: English (Regional Setting: English)
System Manufacturer: Alienware
System Model: Area 51
BIOS: Default System BIOS
Processor: Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz (12 CPUs), ~3.3GHz
Memory: 12288MB RAM
Available OS Memory: 12278MB RAM
Page File: 5259MB used, 19296MB available
Windows Dir: C:\Windows
DirectX Version: DirectX 112 monitors and 2 Graphics cards
Card name: NVIDIA GeForce GTX 480
Manufacturer: NVIDIA
Chip type: GeForce GTX 480
Display Memory: 4063 MB
Dedicated Memory: 1503 MB
Shared Memory: 2559 MB
Current Mode: 1920 x 1080 (32 bit) (59Hz)
Monitor Name: LG M2794DP(Digital)
Monitor Model: M2794DP
Monitor Id: GSM5703
Native Mode: 1920 x 1080(p) (59.934Hz)October 24, 2022 at 1:35 pm #4574A couple of things there:
There are two ways to adjust the size of the NavMesh:
1) Increase the size directly on the NavMesh
2) Change the scale of the game object the NavMesh is attached to.We normally use option 2, because that also let’s you change the shape.
Cell size represents the granularity of the NavMesh, and has a big impact on generation time. The smaller the cell size, the longer it will take. On a flat plane you could increase the size significantly (try 1) and speed up generation. If you have complex geometry and want a very precise mesh, a number like 0.1 is usualy about right.
As for the speed issue - generating a NavMesh at .1 cell size over a large area will take a while, even if the area is a flat plane. However, we’ve got speed improvements in the works that didn’t quite make it into the initial release. The improvements will be significant and will bring the time down noticeably. We’ll put the patch out through our new update system as soon as it is ready.
Thanks!
October 24, 2022 at 6:19 pm #4591Thankyou scaling the NavMesh object works really well
October 26, 2022 at 8:15 am #4700Sorry to resurrect this one but I think there is a problem
I’ve been conduction many experiments to try and identify exactly what the problem is.
Rather than try to explain what my settings are etc. I’ve recorded a video so you can see what the settings are and what is happening
I’ve not recorded a video for a while so please bare with the quality till I get into the swing again. the audio might be low because I was getting background noise
I’ll delete it when its served its purpose.
October 26, 2022 at 5:46 pm #4712November 9, 2022 at 10:09 pm #5165Were the speed improvements included in version 2.6? I’m checking because generating a navmesh is still extremely slow for me (I force quit after letting it run for hours). Let me know if you’d like more details or if I should just wait for a newer version with speed improvements.
November 11, 2022 at 6:53 pm #5204No, speed improvements were not included. We’re trying to get them into the next patch.
-
AuthorPosts
You must be logged in to reply to this topic.