Unity3D Terrain Tree Rotation Fix

  Рет қаралды 13,688

Chris Kugler

Chris Kugler

Күн бұрын

Пікірлер: 53
@AlexanderZapataIndividual
@AlexanderZapataIndividual 5 жыл бұрын
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.
@sigrid714
@sigrid714 6 жыл бұрын
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!
@ChrisKuglerDev
@ChrisKuglerDev 6 жыл бұрын
Sigrid happy to help :)
@learningunity6361
@learningunity6361 5 жыл бұрын
Great! Finally, the info I needed. I can make a gorgeous tree, but pretty useless without random rotation. Thank you very much.
@Kurapikaxx
@Kurapikaxx 4 жыл бұрын
Tried it. Sadly it fixes tree rotation but break wind animation and tree density property.
@Bamboodium
@Bamboodium 5 жыл бұрын
waaaiiitt a minute... i tried to figure out this thing and they all can be fixed with LOD?
@leopar1715
@leopar1715 3 жыл бұрын
Thank you, glad I found you Video in 2022. Didnt' find any other information why random height and rotation are not working!
@DoublecapGames
@DoublecapGames 6 жыл бұрын
Thanks, worked for me! It also seemed like it handles the random scale/rotation better this way.
@RattleSnake2028
@RattleSnake2028 2 жыл бұрын
Thankyou very much ! Still the same workflow in 2022 !
@mw7ol-q6d
@mw7ol-q6d 2 жыл бұрын
This is what I was looking for. Thanks!
@iliamotlagh
@iliamotlagh Жыл бұрын
u saved my life with this video
@OverunityStudios
@OverunityStudios 5 жыл бұрын
This works great for rotation, but if those trees were originally working with Windzone, they won't be now after this.
@germiyanbey1
@germiyanbey1 4 жыл бұрын
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.
@Ryuux1
@Ryuux1 6 жыл бұрын
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
@PlazTechBot
@PlazTechBot 6 жыл бұрын
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.
@TheCSS25
@TheCSS25 5 жыл бұрын
When put in like this the trees stopped working with windzone though :(
@OverunityStudios
@OverunityStudios 5 жыл бұрын
Did you find a solution for this?
@ubivatel4207
@ubivatel4207 4 жыл бұрын
@@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.
@AndrewChason
@AndrewChason 4 жыл бұрын
@@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.
@ubivatel4207
@ubivatel4207 4 жыл бұрын
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
@AndrewChason
@AndrewChason 4 жыл бұрын
@@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. :/
@DerEhrwurden
@DerEhrwurden 6 жыл бұрын
Tried this many times, but simply nothing happens when I paint the terrain.
@RellekNoskcaj
@RellekNoskcaj 6 жыл бұрын
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
@DerEhrwurden
@DerEhrwurden 6 жыл бұрын
Thanks, think you may be onto something, cheers! My Trees do have leaves and their trunks separated as two meshes so makes sense.
@RellekNoskcaj
@RellekNoskcaj 6 жыл бұрын
@@DerEhrwurden good luck!
@DerEhrwurden
@DerEhrwurden 6 жыл бұрын
Thanks, This may save me on some optimization for my Dead by Daylight map on VRChat.
@farzankazi9801
@farzankazi9801 4 жыл бұрын
Thanks man, you're a lifesaver
@5uperbgaming
@5uperbgaming 4 жыл бұрын
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-luc8400
@pierre-luc8400 6 жыл бұрын
how do you do for the painted trees to be affected by wind?
@ChrisKuglerDev
@ChrisKuglerDev 6 жыл бұрын
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.
@OverunityStudios
@OverunityStudios 5 жыл бұрын
@@ChrisKuglerDev This is true, but your technique above kills that.
@a-mazestudio103
@a-mazestudio103 7 жыл бұрын
Thank you very much! I'm starting my adventure with Unity and I was very confused, why there is no randome rotation :)
@ChrisKuglerDev
@ChrisKuglerDev 7 жыл бұрын
Glad I could help.
@kiritokun9139
@kiritokun9139 4 жыл бұрын
Thank you so much, this workaround just works perfectly!
@Mordaxe
@Mordaxe 5 ай бұрын
life saver, thanks!
@ahtiandr
@ahtiandr 6 жыл бұрын
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 ?
@chriskoiandgardenblog1198
@chriskoiandgardenblog1198 4 жыл бұрын
Thank you very much, this helped a lot
@jasonwilliams8730
@jasonwilliams8730 3 жыл бұрын
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:(
@AdrianDev90
@AdrianDev90 6 жыл бұрын
Chris Kugler. As far as I know it's to do with Unity billboard optimisation
@ChrisKuglerDev
@ChrisKuglerDev 6 жыл бұрын
Adrian Devlin yeah, that makes a lot of sense.
@crungushakooter
@crungushakooter 6 жыл бұрын
Worked for me, thanks.
@ChrisKuglerDev
@ChrisKuglerDev 6 жыл бұрын
No problem :)
@efenhuang1834
@efenhuang1834 6 жыл бұрын
Thanks!
@guystreamsstuff7841
@guystreamsstuff7841 7 жыл бұрын
DUDE THANKS
@ChrisKuglerDev
@ChrisKuglerDev 7 жыл бұрын
You're welcome :)
@guystreamsstuff7841
@guystreamsstuff7841 7 жыл бұрын
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...)
@ChrisKuglerDev
@ChrisKuglerDev 7 жыл бұрын
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.
@anonymousthoughts96
@anonymousthoughts96 6 жыл бұрын
THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!
@dj_multiple_one
@dj_multiple_one 8 ай бұрын
Слушай, прям помог, я думал тоже в чем проблема
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,3 МЛН
CONTROLLER INPUT in Unity!
16:44
Brackeys
Рет қаралды 375 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
How I Built A LEGO Treadmill That Moves In EVERY Direction
18:06
Banana Gear Studios
Рет қаралды 1 МЛН
Terrain tips & tricks | Unity 2019 -Tutorial
10:40
Sketch
Рет қаралды 238 М.
The BEST Mechanical Display You've EVER Seen!!!
13:51
Tin Foil Hat
Рет қаралды 541 М.
Can I 100% Superliminal and Get a Refund?
23:36
Gronf
Рет қаралды 319 М.
Build a beautiful 3D open world in 5 minutes | Unity
5:57
spaderdabomb
Рет қаралды 448 М.
Using Custom Trees in Unity
25:38
CG Cookie - Unity Training
Рет қаралды 47 М.
Moebius-style 3D Rendering | Useless Game Dev
8:12
Useless Game Dev
Рет қаралды 864 М.
What if Old Minecraft Mobs were Created Today?
28:05
KazooCat
Рет қаралды 627 М.
I Made A Difficult Game About Climbing
15:04
Pontypants
Рет қаралды 2,3 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.