跳过导航
Massive performance improvement. This is a bit more of technical post, but man do I love this stuff!
0:00 / 0:13

Massive performance improvement. This is a bit more of technical post, but man do I love this stuff!

Smitty | Steel Command

@Smitty_Games1122 位关注者

在 X 上查看

60,072 次观看

Massive performance improvement. This is a bit more of technical post, but man do I love this stuff! Units navigate the map using a 'Navigation Mesh'. Before, I was using one giant nav mesh that spanned the entire map. The more objects that were placed (especially on a large map such as this 'RadarAttack' map designed by Syphotic | Steel Command), the larger the 'lag' would be after placement. You can see here that there is a massive frame drop and the navmesh doesnt update for almost 5 seconds. Now, there are a ton of tiny navmeshes that connect to one another, and together they cover the whole map. Now, when an object is placed, the navmesh will update instantly, because it no longer needs to parse through every object on the map (potentially thousands!!!). It only needs to parse through the objects that exist in the mini navmesh that the object was placed in (probably only 1-5 objects now!). Performance XP Boost +100! Charles Horwood You might appreciate this one :) #Rts #RTSGame #IndieGame

评论

评论来自 X (Twitter) 上的原帖

暂无评论