Quantcast
Channel: Questions in topic: "tree"
Browsing all 513 articles
Browse latest View live

Does anyone have any experience scripting trees onto a heightmap?

I have looked around this site as well as others to see if this is possible in Unity, but most places I have seen simply refer to manually placing the trees through the tree editor. What I wanted to do...

View Article


How to get color from a Tree for Tree Instance?

Hi, does anyone know how to save the color of a material to be used in the TreeInstance method? I am wondering because generating a new TreeInstance requires a color or else the tree just turns out...

View Article


Tree creator in unity : Is it possible to make trees avoid meshes?

I've been using the separate program speedtree for a while and as we know you can add "mesh forces" there for the tree so that it avoids them / climbs around them... Is this possible to create from...

View Article

Animate multiple prefabs

I have a scene that is a forest. Unity trees doesn't have their own animation/reaction to the wind, so, i was trying to make one so it became more realistic, but i have a problem. I didn't use the...

View Article

Reasonnable number of polygons for tree for 2017

I'm pretty new to Unity but i've been spending my last days checking the many ways of saving on performance. I'm building a PC FPS survival game (How original of me). But thing is, polygons are pretty....

View Article


Tree Creator Problems

So I noticed that when I got close to the terrain trees and the mesh loaded the bark was appearing almost white, I tried change the bark material specularity but it had no effect and began messing...

View Article

Creating a shader for trees... Please help with everything involving shaders!

I've been working on a 3d mobile game for about 4 months now. This week I started adding in all the fun stuff(particle effects/models/ALL ART IN GENERAL). The one thing I am having a really hard time...

View Article

Place tree on terrain. RayCast find hit.point.y only works once.

I am having some trouble with this script. All of the trees are added to the same z location and the raycast is not working. My understanding is that hit.point.y should return the hit transform of the...

View Article


Leaf Billboard light issues

I have made a tree in the unity tree editor, and get weird results depending on where the light source is. No matter where the light is rotated, the billboarded textures will always have a half slit in...

View Article


How to use my tree model and mass place them on a terrain

So i made this great low poly tree in blender, imported it over to unity but now i can place it by hand into the scene but i cant mass place it on terrain. So does any1 have a solution(try not to link...

View Article

Speedtree trees each have a little white ball that is undeletable (!)

hi, using the free speedtrees, conifer and broadleaf. how do i get rid of the little white balls from the speedtrees? i put the speedtrees in last autumn and each tree generated a little white sphere,...

View Article

Can't place trees with the tree brush - Tried everything

Hi i imported some palm trees from the asset store (https://www.assetstore.unity3d.com/en/#!/content/13540). I can drag and drop them onto my terrain and everything works fine. But if I use the terrain...

View Article

Cooldown/Timer system (Javascript)

Hi everybody, so yeah i need to get a working timer/cooldown function for my tree "harvesting" system. I want the cooldown to be 10 seconds and to function like this : I can harvest the tree once and...

View Article


Tree chooping

Hi guys, I need a little help! I'm creating a game for android and I want that my character chop a tree but i get this error: NullReferenceException: Object reference not set to an instance of an...

View Article

Imported Custom Speedtrees have Black Foliage

Hi all, I have been diggin into the new Speedtree Unity Modeler - which is an amazing tool. until... I import my models into Unity and there I get large black areas on all trees I either create or...

View Article


AI move towards closest tree?

How can I do this? I'm using trees from the terrain builder.

View Article

Tree Brush not placing trees correctly

As you can see in the picture, the trees placed correctly are put there by hand and were not aligned, they were set as supposed, but the ones that are like stuck inside the terrain are made by the tree...

View Article


Getting Unity Tree information & editing them at runtime?

So, I've almost finished a fairly complex foraging system which'll work for a range of different plants. The issue I'm having at the moment is that I would like trees & bushes to have values that...

View Article

Speed Tree Toon Shading

Simply put, I compiled the default speed tree alpha shader but the shader code was really big and complicated. I merely know the basics and can only make slight modifications to shader code. I can use...

View Article

Can scripts be attached to speedtrees?

I want to be able to chop down my trees! However I can't get my script to work on trees I place in my tree instances, IE trees added to the terrain object with Terrain.AddTreeInstance(). Is there...

View Article
Browsing all 513 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>