s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Terrain Generation Tool
Released
by Sturnus library
updated 1 year ago
160.7KB
thumb_up_alt31 thumb_down_alt1 favorite13 library_books2
homeDetailsnewspaperNewsreviewsReviewcodeSource
Terrain Generation Tool
News
Terrain Categories/Shapes + Staging Area + Optimizations
Terrain Categories/Shapes + Staging Area + Optimizations
calendar_today 1/26/2025 people Austin chat_bubble 0 visibility 532

Terrain Categories?

By 
Austin
One of the ambitious goals I set out to accomplish with this tool was to have plenty of terrain shapes to choose from. Downside, there were too many options and it made it difficult to see (I also don't like drop-down boxes very much.)

So I set out on a journey to use Segmented Controls, but have them dynamically populated on the fly based on what category you were in. The results?
Now, this was a huge task, but it ended up shortening the lines of code by roughly one hundred lines. This effort has also unified the way the terrain shapes are generated, which may be a limiting factor in the future, but for now it works wonders!
1

Staging Area

By 
Austin
There was a request to have a flat area in the terrain that was being generated by the tool. Seemed simple enough, so I knocked it out. It's pretty self explanatory... It's a staging area, it can be resized, and placed anywhere in the map, with any height. The staging area will automatically generate a ramp on every side of the staging area that conforms to the max angle for the default character controller.

This makes it so you can place, prefabs, agents, and many more objects in the scene without having to worry about minor terrain adjustments affecting the placement of these objects.

2
arrow_back_ios1arrow_forward_ios
trophy 1240
Oct 2021 148 posts
Austin one year ago
#1
Terrain Categories/Shapes + Staging Area + Optimizations : sturnus/terraingenerationtool/news/terrain-categoriesshapes-staging-area-optimizations-c82ceff0
arrow_back_ios1arrow_forward_ios
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter