Question by
Kamran Pervez · Sep 25, 2015 at 01:49 AM ·
terrainphysics2dcollider2dterrain generationterrains
How to create 2D terrain procedurally with 2D physics colliders ?
I want to create an infinite 2D terrain generator procedurally for a side scroller sort of 2D game that will use 2D physics colliders but I have no idea exactly regarding this and where to start from. If anyone can give me some hints or guidelines that would be a great help for me. Thanks.
Comment
you can add some triggers and instantiate the terrain. You need to place triggers one for instantiating and other to delete the terrain. You can have different set of terrains as prefab and instantiate at random.
Your answer
Follow this Question
Related Questions
Execute world generating script in editor 0 Answers
Terrain detail meshes are invisible 0 Answers
Terrain Collider update c# 0 Answers
Replace Terrain Layer through Script on runtime 0 Answers
OverlapBox not working as expected 0 Answers