I am making a very basic flight simulator and this my first time using unity. I want to have a certain part of the mountain flyable through whilst keeping the rest of the terrain keep collision. Is this even possible? I am sorry for being a noob.
Unity terrains are basically made up of a list of heightmap values (together with other items that help with tree, texture, and grass placement). The height values, for each pixel or cell, need to be between 0 and 1. So each “pixel” needs to have a value, even it is 0. Therefore you cannot have a tunnel or cave-like feature using the standard Unity terrains. There are two common options:
- Use a mesh-based terrain system
- Add a mesh on top of a standard Unity terrain in the shape you’d like with it’s own collider(s).