What is the difference with TerrainDetails?
My game instantiates terrain objects and then melds them into one mesh but larger meshes to keep effeciency then adds a collider. Its actually vital to the game and it works but this method feels like...
View ArticlePlacing trees slow
I am using this piece of code to place my trees, it is constantly using 300+ ms: IEnumerator SpawnTheTrees() { if (TreesPlaced) { return false; } TreesPlaced = true; TreeInstance treeInstance = new...
View ArticleTree Instance scale
I have a prefab, which is way to small at scale 1, so I changed it to 25 but that doesn't seem to apply on a treeinstance, and changing the height/widthscale on the treeinstace only changes the size of...
View ArticleInteracting with terrain trees.
Hello, Explain to me please how can i interact with trees painted with terrain editor brush. For example: how can i get tree's pos, scale, how can i attach some scripts to them and how can i destroy...
View ArticleUnity 5 - random tree rotation doesn't work
I'm trying to place trees using the new tree randomization features in Unity 5. I have "Random Tree Rotation" checked but when I place trees with the brush they are all facing the same direction. I'm...
View ArticleTree Billboards
I am using gameobjects as trees for various reasons. Is there a way I can create billboards like in the terrain tree system? Do I have to write a shader, or can I write a script instead? They don't...
View ArticleBillboard system
I have create a billboard system, and I would like to get any improvements, because when I instantiate it it takes 5000-10000ms for the UpdateBillboard function, this script is attached to every...
View ArticleUnity 5 Tree Lightning Bug
![alt text][1] [1]: https://a.pomf.se/trjrjw.jpg I'm getting this bug quite in all maps I try, downloading a map from the asset store and running the unity5 upgrade will leave the leaf billboards like...
View ArticleTree spawn script not working
Hi, these are some script I've been working on. They are giving me quite a hard time :( using UnityEngine; using System.Collections; public class Sapling : MonoBehaviour { private int WaitTime; public...
View Articlecolliders moving in wind
Hello, I have really simple questions..but couldnt find answer here neither on forums or in docs .. If i have a small tree..and i add collider to that tree(capsule) and i paint that tree with unity...
View ArticleTree billboard glitches
The tree billboard is so freaking glitched for me, I use the default terrain trees and the detail billboard is glitched almost everywhere, sometimes the billboard is like super small or super big or it...
View ArticleRender Bug invisible tree's
Hello guys! I have a problem, i dont see tree's. When i change emulation from No Emulation to shader model 2 i see tree's but when i change to shader model 3 or No Emulation tree's are invisible + when...
View ArticleWhat do 2D Mouse functions rely on? Sorting order?
I have many sprites and they all seemed to follow a certain rule. The rule seems to be that the highest sorting order is the one that registers the Mouse function. However, I now have a fruit that...
View ArticleWierd Material Behaviour
I have a tree as GemObject (it is the willow from the terrain assets). I baked my scene so I changed the material of the leaves to the standard as Cutout. So the results are these: (Left: Nature/Tree...
View ArticleUnable to adjust tree rendering in terrain settings.
Would any one know a reason that I cannot edit tree rendering in any way using the terrain settings? Adjusting the billboard, tree fade and every other setting does nothing. Either the trees are being...
View ArticleWind zones on custom vegetation without Terrain
I'm trying to use a wind zone to generate some movement to plants in my scene; I read that wind zones operate based off of the shader, so I've tried to use the terrain shader asset that comes with...
View ArticleTreeClimb animation in unity
I was wondering if it's possible to make an animation inside of unity(presumably a transform animation) that makes my character move up by a certain distance(tree height). I was trying to do something...
View ArticleHow do I resize a tree prefab
Yes, I have googled this and have not found exactly what I was looking for (most have to do with older unity versions and are applicable while the others were of no help). So I bought trees on the...
View Articlemenuless crafting
so my idea is to have the player place 3 objects on a cloth in game and when these specific objects (maybe with a tag on them ) are placed in close proximity of each other on the cloth, it pops up a...
View ArticleRay does not hit TreeInstance
Hi Guys, I can't seem to solve a quite simple problem, and it is driving me insane. I can't raycast the tree instances on my terrain. Here are a few screenshots: I draw the ray, in red if it hits...
View Article