Results 1 to 9 of 9
  1. #1
    Join Date
    Dec 2004
    Posts
    25

    Question - How do you make caves in unity?

    Unity is great. It is the easiest terrain editor I have ever used. But one problem... (the question is in the title)

    How do you make caves?

  2. #2
    I am not really sure what the correct answer is to this question but I would just create my caves in a 3rd party 3D package rather than trying to use Unity's system. It is likely that you could use two terrains to get the effect you would want but I am not sure how the performance would be affected by this.

    -Dane
    You know you want to!

  3. #3
    Join Date
    Dec 2002
    Location
    Virginia Beach, VA
    Posts
    861
    With Unity's built in terrains you can't. You'll have to model your caves in an exterior program and shape your terrain around them in Unity and hide any anomalies with static meshes.

  4. #4
    Join Date
    Mar 2002
    Location
    Long Island
    Posts
    1,675
    i was wondering about this.. thanks
    Please let me know when we are going to have some fun so I can pay attention.


  5. #5
    Join Date
    Jun 2004
    Location
    The Netherlands
    Posts
    153
    I found this on a blog about a game being made in Unity3D, its originally written in Japanese, but this is the google translate link: http://translate.google.nl/translate...3Fdirect%3D243

    Maybe it gives some idea's.
    Bug? That's not a bug, that's a feature.
    LinkedIn - Twitter (dutch) - Work (dutch)

  6. #6
    Join Date
    Jul 2010
    Posts
    6
    Quote Originally Posted by Project-A View Post
    I found this on a blog about a game being made in Unity3D, its originally written in Japanese, but this is the google translate link: http://translate.google.nl/translate...3Fdirect%3D243

    Maybe it gives some idea's.
    Nice find! So a basic rundown of the linked article: Mask a hole in your terrain, and then create and position another terrain. I would imagine it would still be difficult to create an "interior" look and feel with Unity's terrain editor, however (like cave tunnels or other terrain with walls and ceilings). Complex terrains like this would probably be better created in Maya or 3DS Max...

  7. #7
    Join Date
    Jan 2011
    Posts
    1
    well, as far as i remember, you can not cut holes into unity terrain, this is silly , but anyways.

    the way around this like stated above by chronos78 is to create your own mountain mesh with a cave inside of it, make sure is not below terrain altitude. and make sure the outside mountain matches the actual unity terrain textures so it will blend with it.

    usually most other game engines haev this terrain feature to cut holes for adding caves etc.. but unity failed with this one.

  8. #8
    Join Date
    Oct 2009
    Posts
    123
    Here is a link to a shader which will allow you to have terrain transparency. Adjust this to suit your needs. Place a trigger over the transparent "gap" in the terrain. When in the trigger, disable collision with the terrain. When out of the trigger, re-enable collision with terrain.
    ( ! ) Assets/_Scripts/TP_Camera.cs(50,35): BCE0000: WTF?

  9. #9
    Join Date
    May 2013
    Posts
    1
    There's a plugin for this on the Asset Store: Terrain Hole System

    Description: "This Unity extension lets you make holes in your terrain that characters and other objects can go through."

    More information can be found on the forum thread.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •