- Home /
Terrain - trees
Hello.
I am working on a small sized school project in Unity using Unityscript. I've created a script for cutting down trees which consist of two objects - stump and the rest of the tree which are stored in empty gameobject with script, colliders etc. attached to it. I would like to add that prefab to the tree generator in terrain inspector but all it places on the terrain is just a stump object without anything attached to it.
Is there any way of placing multiple trees on my map without duplicating/creating new objects?
Answer by sevensixtytwo · Feb 25, 2015 at 10:55 AM
Unity terrain trees don't support prefabs and scripting so you've got a dead end there.
Check the asset store for Mega-scatter which does exactly what you want, or you could place prefabs manually (bit of a pain, there).
Your answer
Follow this Question
Related Questions
How to increase Distribution, area spread of trees over the limit ? 0 Answers
What happened to the tree creator sway?? 0 Answers
Stage Select 1 Answer
Making trees 1 Answer
Unity 5.2 No lightmap on tree after bake the scene with the GI 1 Answer