Not only the rotation is fixed, but Also the "Three Height Random" property. It would always place objects of the same size without LOD. This thing you discovered makes the tool usable at least. Awesome.
@sigrid7146 жыл бұрын
Wow! Had always resigned to the idea that Unity's built in terrain did not support random rotation for trees (which made the terrain tree brush unusable because uniformly rotated trees look terrible). So this is a real game changer. Thanks for making this video!
@ChrisKuglerDev6 жыл бұрын
Sigrid happy to help :)
@learningunity63615 жыл бұрын
Great! Finally, the info I needed. I can make a gorgeous tree, but pretty useless without random rotation. Thank you very much.
@Kurapikaxx4 жыл бұрын
Tried it. Sadly it fixes tree rotation but break wind animation and tree density property.
@Bamboodium5 жыл бұрын
waaaiiitt a minute... i tried to figure out this thing and they all can be fixed with LOD?
@leopar17153 жыл бұрын
Thank you, glad I found you Video in 2022. Didnt' find any other information why random height and rotation are not working!
@DoublecapGames6 жыл бұрын
Thanks, worked for me! It also seemed like it handles the random scale/rotation better this way.
@RattleSnake20282 жыл бұрын
Thankyou very much ! Still the same workflow in 2022 !
@mw7ol-q6d2 жыл бұрын
This is what I was looking for. Thanks!
@iliamotlagh Жыл бұрын
u saved my life with this video
@OverunityStudios5 жыл бұрын
This works great for rotation, but if those trees were originally working with Windzone, they won't be now after this.
@germiyanbey14 жыл бұрын
This is not pointless as it looks, because this breaks Unity's Tree Billboard system (Unity's Automatic creation of Billboards for your trees). So if you have your own Billboards or LOD levels for your trees, Unity permits you to rotate. I hope Unity creates a better Impostor system so we can rotate easily by relying on Tree Billboard system too.
@Ryuux16 жыл бұрын
Wow, is really solved my problem, I just wanted to add empty "Gameobject" and insert my mesh to it to fix the rotation of the mesh, and without that LoD on the "GameObject" I don't see anything on the terrain! , Thanks alot!! :D
@PlazTechBot6 жыл бұрын
This is the real MVP comment, I fixed the same issue by doing this. Without the LOD the terrain won't every render the tree if it has a parent object in the prefab.
@TheCSS255 жыл бұрын
When put in like this the trees stopped working with windzone though :(
@OverunityStudios5 жыл бұрын
Did you find a solution for this?
@ubivatel42074 жыл бұрын
@@OverunityStudios I don't know if you still need that, but you can place LOD on the tree prefab itself, then place trees on terrain, then remove LOD from prefab. Trees have random rotation and work with windzone. Worked for me.
@AndrewChason4 жыл бұрын
@@ubivatel4207 What children do you use to place an LOD on the Prefab itself? I've been trying this, can't get it to work, and can't find anyone else touting this solution. But I really need it.
@ubivatel42074 жыл бұрын
I use the prefab itself on all LOD modes (it duplicates each time, so remove copies) Not the best method, but the only one I know
@AndrewChason4 жыл бұрын
@@ubivatel4207 Yeah, I tried doing this very thing, I'm in unity 2019.3.(7f1) Make the tree how I like it, then make it a prefab. It doesn't let me drag it onto the LOD channels. I also tried MAKING my own duplicate prefabs down the in tray and adding them. They add, but there is no "tree" when I paint Golly I really want this to work. :/
@DerEhrwurden6 жыл бұрын
Tried this many times, but simply nothing happens when I paint the terrain.
@RellekNoskcaj6 жыл бұрын
If you are unable to paint trees at all it may mean that your tree objects has several meshes. Try combining these meshes in your 3D software, re-exporting, and trying to paint again
@DerEhrwurden6 жыл бұрын
Thanks, think you may be onto something, cheers! My Trees do have leaves and their trunks separated as two meshes so makes sense.
@RellekNoskcaj6 жыл бұрын
@@DerEhrwurden good luck!
@DerEhrwurden6 жыл бұрын
Thanks, This may save me on some optimization for my Dead by Daylight map on VRChat.
@farzankazi98014 жыл бұрын
Thanks man, you're a lifesaver
@5uperbgaming4 жыл бұрын
I don't know if there is a better solution to this now, but the problem i getafter making the object is that the tree assume a new pivot point in the middle of the tree instead of the bottom where it wass manually placed in maya. Do you know any work around for this?
@pierre-luc84006 жыл бұрын
how do you do for the painted trees to be affected by wind?
@ChrisKuglerDev6 жыл бұрын
I haven't tried to do it myself, but I think you have to create a Tree object in unity through the menu (GameObject > 3D Object > Tree. I think by editing the nodes in the Tree object you set it so certain meshes in the hierarchy get affected by the wind system. Once again though I'm not sure about that.
@OverunityStudios5 жыл бұрын
@@ChrisKuglerDev This is true, but your technique above kills that.
@a-mazestudio1037 жыл бұрын
Thank you very much! I'm starting my adventure with Unity and I was very confused, why there is no randome rotation :)
@ChrisKuglerDev7 жыл бұрын
Glad I could help.
@kiritokun91394 жыл бұрын
Thank you so much, this workaround just works perfectly!
@Mordaxe5 ай бұрын
life saver, thanks!
@ahtiandr6 жыл бұрын
When I add my tree prefab into the LOD0 it says that it is not parented to the LOD group and if I wanted to reparent it. I press yes, and it creates a clone object under my game object. This object is not possible to add into the terrain. Do you know what I am doing wrong ?
@chriskoiandgardenblog11984 жыл бұрын
Thank you very much, this helped a lot
@jasonwilliams87303 жыл бұрын
If you can make a tree in blender and get it work in unity with the terrain system you are a god lol. I got everything to work except my leaves have white artifacts all over once inside unity:(
@AdrianDev906 жыл бұрын
Chris Kugler. As far as I know it's to do with Unity billboard optimisation
@ChrisKuglerDev6 жыл бұрын
Adrian Devlin yeah, that makes a lot of sense.
@crungushakooter6 жыл бұрын
Worked for me, thanks.
@ChrisKuglerDev6 жыл бұрын
No problem :)
@efenhuang18346 жыл бұрын
Thanks!
@guystreamsstuff78417 жыл бұрын
DUDE THANKS
@ChrisKuglerDev7 жыл бұрын
You're welcome :)
@guystreamsstuff78417 жыл бұрын
I'm having an issue though, Tree density is all messed up now, any fixes for this? is it linked to the fact that empties have no volume? (therefore no bounds...)
@ChrisKuglerDev7 жыл бұрын
Guy Streams Stuff I didn't notice any differences to density when I last messed around with this, but it should respect the colliders you have on your tree Prefabs. That being said, Unity's terrain painting stuff is extremely sensitive. I tend to pick one of the more spread out brushes with a lower strength / opacity and paint in single clicks while rotating the terrain around for some variation in the pattern.