How to make an equipped axe charge up to a swing when moving camera?
Hello. I'm currently making a survival type game, and I'm in the process of implementing a tree cutting feature. Everything has been working smoothly so far, and it's nearly done. I do have a question...
View ArticleWhy does my Tree on Terrain not look like the Original Prefab it was made of?
Hello guys, I'm seriously confused right now... I hope someone can help me out. So I created two Tree Crowns and several trunks in Maya. Exported them as FBX files. Put them into Unity and there I...
View ArticleProcedural placement of multiple tree types using tree instances
I'm working on procedural generation of large terrains. I have completed most of the terrain features, but I'm having difficulty creating multiple tree instances. The script I currently have can copy...
View ArticleHow would I change the type of tree when an action is being performed?
My project is about forest fires and I want to simulate them using Unity. I have two trees (type1 and type2). Type 1 is the regular healthy tree while Type 2 is the burnt looking tree. I have spawned a...
View ArticleReplacing terrain trees with prefabs
I need a really big forest with mesh colliders, but with terrain brush this collider disappear. So looks like I needs to use prefabs. I can't find information about performance. Will I lose some after...
View Articlecan i change unity terrain placed trees by code or annythink
so i got this hill with bushes but the rotation isnt right see pic down bellow so here was my idea i wanted to do in the awake function a raycast down bellow so i can check the hitnormal and then...
View ArticleAdd tree not working
When Add tree(Edit Tree--->Add tree) is pressed, nothing happens. Its like the command is not executed.
View ArticleDestroy Terrain Trees And They Collider
ok so in my game I have a mechanic where you can chop down trees but the trees are painted into the terrain so they are hard to access. These scripts sort of work but the colder stays. so the tree mesh...
View ArticleTrees on slopes are floating
Hey guys, I used the mass place trees option. The trees on slopes are floating, I am use a trees prefab with collider.
View Articlematerial looks pink with "Tree creator bark" shader
![alt text][1] [1]: /storage/temp/181964-screenshot-1.png to use the material on tree it says it needs to be "tree creator bark" shader. but when i choose that shader the material becomes pink. how can...
View Articleopacity problem of unity tree's billboard
When the Unity tree is in the billboard state, the outline is brightened. I currently use postprocess, beautify for the light environment. I'm wondering if that's a problem with the Unity tree or if it...
View Articletree billboard white outline problem
When the Unity tree is in the billboard state, the outline is brightened. I currently use postprocess, beautify for the light environment. I'm wondering if that's a problem with the Unity tree or if it...
View ArticleThe tree Tree must use the Nature/Soft Occlusion shader. Otherwise...
Hello, I am having trouble to painting trees since it requires Nature/Soft Occlusion shader. I am using HDRP, so it doesn't work properly. May you help me?
View ArticleTree object changes affect its prefab
Hi, I have a set of tree object prefabs. I'd like to have several variants of the same tree in the scene, like with leafs and without leafs. Moving one tree to the scene and make a duplicate. Now I...
View ArticleTrees dissapering on disstance using hdrp
Hello, I have a terrain with trees on it and they disappear if you get far away. How can i fix this?(i have tried adding a lod group component to the tree but then I can't see them at all).
View ArticleFix Leaves as planes in URP?
Using URP I have been trying to figure out how to add trees to my scenes and they always end up purple. As such I have to add them in at base, change shaders and then add textures. The trunks seem...
View ArticleSwitching between two blend trees,How do I change Entry to other blend tree
Hi, I need help with swithing blend trees. I have two character movments animation in 2D top down pixelate game and they are same just one thing is different in one blend tree are shadows and in other...
View ArticleTree prefab at index 0 is missing. Please Help!
Hello, Really hoping someone can help. I'm having a build error where a tree prefab is missing: ---- Tree prefab at index 0 is missing. UnityEditor.BuildPlayerWindow:BuildPlayerAndRun () Tree prefab at...
View ArticleHow can I make my L-system trees 3d.
![alt text][1] So I have made these generated trees using l-systems and a line renderer to render the lines. Is there any way I can add depth to these lines creating a cylinder "branch". Maybe I could...
View ArticleCan I add a parent to all the children in an animation tree structure ?
I made the animation for my arms which refers to the bones directly but now, I would like to make my arms child of my camera named "FPCamera" but the animation would be edited. My question is can I...
View ArticleFlickering/Bright sparkeling with Planar Reflection Probe and Trees (HDRP)
I have this weird flickering in my project: https://youtu.be/vKX9Nk1pt8Q When I turn off the Planar Reflection Probe it disappears, but I need the Reflection Probe for reflection on the water. The...
View ArticleTrees not lighting properly
I have some trees in my scene on a terrain, and its set in night so its dark and the player has a torch (which is just a spotlight), theres this weird thing where the trees light up when they are close...
View ArticlePlacing tree objects with Terrain or Polybrush which one is useful ??
Hi Everyone, I'm making a racing game on a big map(10km x 10km), It's really hard to handle operations while working while there are many tree objects on the land in the game especially for performance...
View ArticlePopulating terrain with building as trees causes them to clip,How to mass...
Hi. I am trying to populate a terrain with some buildings, and i find somewhat difficult to write a script to do it. I used the tree option with my meshes, creating the LODs and changin their shader to...
View ArticlePopulating terrain with building as trees causes them to clip,How to mass...
Hi. I am trying to populate a terrain with some buildings, and i find somewhat difficult to write a script to do it. I used the tree option with my meshes, creating the LODs and changin their shader to...
View ArticleTree Segmentation (SetPropertyBlock)
Hello ! I'm kinda new at Unity and i'm trying to do a segmentation on images coming from the main camera. I got a code which works absolutely fine ... except with trees. public void OnSceneChange(bool...
View ArticleHow to get a GameObject from another GameObject
I have a prefab, and i Want to access this prefab object from another object the scene hierarchy has: - Player - Camera - Background - Floor(Prefab) and the prefab hierarchy has: - Floor -...
View ArticleWeird tree lighting issues
Hello! In the picture below you can see three marked areas.![alt text][1] [1]: /storage/temp/197093-unityurp-daynight-treelight.png The first area is near and there are shadows. It looks correct since...
View ArticleHow to make a cuttable tree in unity using terrain tolls?
I am currently working on my game, It is a normal survival game and I wanted to make a forest in it, although I got the code of the tree working I wanted a way to scatter the trees around my world and...
View ArticleTrees not rendering on Terrain??
Hi, I'm using the Unity Terrain, but for some reason the terrain does not render my HDRP trees if not near my camera be it in Editor nor in Runtime. ![alt text][1] As you can see from the picture...
View Article