2.5D Terrain

KAMGAM

(3)
$29
Publisher KAMGAM
File size 10.12MB
Number of files 141
Latest version 1.1.1
Latest release date 2022-11-22 09:45:46
First release date 2022-05-11 09:44:16
Supported Unity versions 2018.4.2 or higher

Links: Documentation | Support & Forum



How does it work?


Easy: you draw a 2D shape and from it this tool generates a 3D mesh and PolygonCollider2D for you.



Features:

✔️ 3D Mesh from 2D Splines (with holes)


✔️ 2D Collider Generator


✔️ Procedural Foliage Generator


✔️ Full Source Code included



Use 2D curves to generate a 3D mesh


Generate 3D meshes and 2D colliders with ease combining multiple bezier curves. Think of it as an enhanced Sprite Shape Controller with the ability to generate 3D meshes.



Supports holes and merging of curves.


Use multiple curves and combine them with boolen operations (add, substract). Punch holes into your terrain or merge curves.



Procedural Foliage Generator


Add your prefabs to a list and let the procedural Foliage Generator place the objects for you. Useful for things like grass, trees, rocks, flowers, ... .



Live Preview (experimental)


The auto update mode can generate meshes while your are editing them (fast iteration).



Tri-Planar ShaderGraph shader included. It does generate UVs too (in case you need them).


NOTICE: The included shader is a SHADER GRAPH shader. You need to have the Shader Graph Package installed to use it.



Full source code included - Uses Assembly Definitions.


Examples included: Get a whole low-poly terrain set with textures for free!


Step-by-step guide in the Manual


Compatible with Unity 2019+ (2019 LTS, 2020 LTS, 2021 LTS)


It may work with earlier versions too but I haven't tested it.




Please notice that this is meant as an EDITOR ONLY plugin.


However the mesh generation code was written with runtime in mind. It may work at runtime too but it is not officially supported (may be very slow).



Versioning scheme: SemVer https://semver.org



⚙️ Installation

Download the Asset and import it into your project.


You are done, no additional setup is needed.




⚒️ Usage

A new menu called "2.5D Terrain" will be available under "Tools" in the main menu bar. Go check it out once the import is done.


Use "GameObject > Create 2.5D Terrain" from the menu or in the Hierarchy to create a new terrain.


Info: The settings file will be created under Assets/.


Hint: There is a manual, please read it (Tools > 2.5D Terrain > Manual).



☎️ Support

If you have any questions or issues then please use the support form or write to office[at]kamgam.com



Please be patient, replies may take a few days.

Please include

your Asset Store Order Nr in your request.



You can also ask in the dedicated Unity Forum thread. This way others can follow the discussion.



Thank you.




Known Issues



● Sometimes the mesh generation fails in Preview Mode (Auto Update). - This can be fixed by slightly adjusting the parameters. If you find a case where it fails persistently over a wide rande of parameters then please let me know.


● Preview Mode performance degrades with complex curve setups and high precision meshes. - That's why it is recommended to divide your terrain into small parts. Don't build one huge terrain. Also small terrains can be copied and reused more easily.


● If the middle part is stretched in depth by MeshBezierPointInfo then the middle UVs will be distorted.



✍️ Licenses

This Asset contains some open source libraries. Please check the LICENSE or README files in the Libraries folder after download.


Licenses used:


* ClipperLib: Boost Software License - Version 1.0


* CurveShortening: https://github.com/acarapetis/curve-shortening-demo, c# port KAMGAM e.U.


* FarseerUnity: Microsoft Permissive License (Ms-PL)


* Poly2Tri: http://code.google.com/p/poly2tri/ * PolygonMesh2D: MIT License




If you like this asset then maybe you'll like these too:



🚴 2.5D Bike Racing Game


A complete racing game template.



🌉2.5D Bridge Builder


Generate bridges based on a curves.



➰2.5D Looping


Looping with 2.5D collider setup.




Top Publisher Assets