s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam
Terrain Pro
Released
Generate Height/Splat Maps within the editor!
by Sturnus library
updated one month ago
774.8KB
thumb_up_alt34 thumb_down_alt1 favorite13 library_books2
homeDetailsnewspaperNewshistoryChangesreviewsReviewcodeSource
Terrain Pro
News
Terrain Categories/Shapes + Staging Area + Optimizations
26 January 2025

Terrain Categories/Shapes + Staging Area + Optimizations

Austin
Austin
chat_bubble 0 visibility 623

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
one year ago
#1
Austin
Member
JoinedOct 2021 Posts156 Score3,290
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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter