- Home /
How to disableTerrain Collider but keep the Tree Colliders?
Hello, I have a terrain in my level which I've painted trees on. I have drawing of the terrain itself disabled because I only wanted the trees visible, as I'm using a mesh for the ground in my level instead.
I tried disabling the Terrain Collider in the terrain settings but this also disables the Tree Collider, which I wanted to keep. Is there a way to have no collision for the terrain but keep the collision for the trees?
Thanks for reading!
hm, i just thinking about to kickout the terrain, and extrude all the trees, having them as gameobjects on the scene.
i guess a terrain collider is necessary for painting trees(knowing the vector3 position) of valid spawn places
I've finished painting the trees in the scene now, so if there was a way I could change them from terrain trees into game objects that would be ideal!
Answer by hexagonius · Nov 24, 2018 at 05:43 PM
Maybe this will help? https://answers.unity.com/questions/723266/converting-all-terrain-trees-to-gameobjects.html
Your answer
Follow this Question
Related Questions
Unity 5 no terrain collision 1 Answer
Terrain tree colliders as triggers 2 Answers
Disable collider on only 1 tree type not all? 1 Answer