- Home /
Terrain trees with particle fx?
Hello, I was just wondering if there was any way to have terrain trees with particle fx on them? Leaves flying around and such? I've tried adding a particle system to the tree gameobject, and I've tried adding it to a child, and neither emitted any particles as a terrain tree, but worked fine as an instantiated prefab? Any ideas? :)
It could work. Just create a tree prefab with the particle fx inside it. But notice that any changes you do with trees you have to plant them again. Let me know.
No, like I said, having the particle emitter and all that stuff as a component of the tree did not work, and replanting the trees did nothing :(
Sadly I couldn't make it work either... I wish I could help more...
Answer by Anders-Toft · Mar 07, 2014 at 03:42 PM
Hi, I had the exact same problem however I solved it by making a script that went through all the tree positions of the terrain and instantiated the particle system at those locations. I've attached my script which should be pretty straight forward, just attach it to an empty gameobject in your scene and assign a container gameobject, and your particle system prefab.
Hope this helps if anyone comes across this topic in search of an answer.link text