Search Unity

[RELEASED] Terrain Dynamic Pit

Discussion in 'Assets and Asset Store' started by akareactor, Mar 10, 2022.

  1. akareactor

    akareactor

    Joined:
    Apr 6, 2015
    Posts:
    108
    Forum Cover Image.jpg

    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


    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.
     
    Last edited: Mar 11, 2022
  2. Giantbean

    Giantbean

    Joined:
    Dec 13, 2012
    Posts:
    144
    I have enjoyed the use of this asset in VR! Thank you.
    I have noticed an issue.
    upload_2022-12-4_19-59-19.png
    "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.
     
    akareactor likes this.
  3. akareactor

    akareactor

    Joined:
    Apr 6, 2015
    Posts:
    108
    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...