Terrain Dynamic Pit
This is a real-time terrain funnelizator
With Terrain Dynamic Pit you can make funnels in the surface of the terrain in play mode. Neighboring terrains are processed jointly. To improve the appearance of the funnel, you can use a splat mask. Grass is destroyed in the area of the funnel, and trees can be scattered to the sides.
Based on GetHeights/SetHeightsDelayLOD, GetAlphamaps/SetAlphamaps.
Documentation | Videos | Twitter | Discord
Asset Store
Key features
- realtime terrain changes
- well optimized and effective code
- support neighbour terrain tiles inside pit area
- expose texture layer through splat mask inside pit area
- removing grass and trees
- spread work on several frames
- terrain data backup in edit mode
- source code included
Requirements
Terrain Dynamic Pit requires Unity 2020 or a more recent version.
Additional
Tested on Android mobile, good enough, no lags.
I have enjoyed the use of this asset in VR! Thank you.
I have noticed an issue.
“A scripted object (proabably TerrainDynamicPit.TerrainBackup?) has a different serialization layout when loading. (Read32 bytes but expected 76 bytes) Did you
#ifdef Unity_Editor a section of your serialized properties in any of your scripts?”
I don’t see it in the Unity editor just a debug build. Not a major issue as the ground still deforms as needed but sometimes when using it with mirror networking the ground disappears although only when also using Parrelsync. something you may want to be aware of and if you have a fix just to clean up the error logging that would be great.
Thanks.
P.S. I don’t think the discord link above is working.
1 Like
Thank you for detailed feedback! Haven’t seen this since I haven’t tested it in this mode. I’ll check it out as soon as possible.
I forwarded the link there, it seems to be working…