How to make every tree different?

First of all sorry for my bad English;-)

I created a tree with Unity 3D Tree creator and copied it 20 times. Now I would like to make each tree different. For example by changing the ‘Growth Scale’ or ‘Leaf Frequency’. But if I change the values from one tree, it happens to all the trees. How can I make each tree a ‘stand-alone’ tree?

Thanks!
Jordy

1 Answer

1

Duplicate the tree in the project view and change each individual tree. When you change one they all change because they are all tied together with that prefab. You’ll need a separate prefab for each separate tree.

-myjean17

You should be able to drag each prefab into the scene view and edit each separately. Whatever you change will be specific to the prefab it is connected to so you may want to rename them.

Oh, and make sure you duplicate them in the project view. You said 'Hierarchy' above and i just wanted to make sure. The hierarchy contains everything thats in the present scene, while the project view contains every asset that is in your project folder, which can be used in every scene as much as you want. If your new to unity it may help looking into this if you haven't already: http://unity3d.com/support/documentation/ or this for some good tutorials: http://unity3d.com/support/resources/tutorials/

Yes- the tree in the project panel is the prefab. The one in the scene is just a copy of that prefab. As long as it's connected to the prefab, anything that happens to it happens to the prefab. What you want to do is, like you said, copy it 20 times in the project panel. Then you have 20 different prefabs with different attributes.

You can copy things in the project folder. Highlight the thing, then hit cntrl+D to duplicate.

I tried this, I made a copy of my tree, renamed it and turned it into a new prefab, deleted the one in my scene view, re dragged in my new prefab tree, renamed to Big Tree 02 and it still updated all of my trees to the same tree??? WTF