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

2D walking over/under objects

Hi all, in the first image you can see that my sprite walks over the top of the tree instead of under it, this is easy to fix however doing so with my method of changing the trees Z position causes the...

View Article


Cannot Chop down terrain trees

I have a script for cutting down trees and it works perfectly when I just place the prefab of the tree but when I place the tree using the terrain tree painter I cant cut down the tree.

View Article


How do you make a prefab into a tree? Or is it possible?

I downloaded free palm trees from the asset store and when I use the terrain tree paint tool, it doesn't work with those trees. I don't understand why this is happening but I'm sure it might be that...

View Article

my tree felling script isnt doing as i want

hi there this is my first time trying this,I want to have a tree that is choppable and my problem is that my script bellow doesn't add force correctly here's the code : using UnityEngine; using...

View Article

Chopping trees

Hi, I have been here for awhile and can't get trees to chop down. I need help. A answer would be much appreciated. var treeHealth = 5; var tree = GameObject; var hit = GameObject; var logs =...

View Article


Unity5 Disable painted tree shadows?

I just painted some trees using Unity 5.1.2f1 terrain system and want to disable the shadows cast from the trees. The tree prefabs have cast shadows set to off, the terrain settings have Cast shadows...

View Article

Distance from tagged objects problem

I'm trying to change my boolean to true if the player finds himself within a certain distance of any object tagged as "tree", ive searched for an answer everywhere but im still unsure as to what is...

View Article

Tree Creator Shader will not fade

How can I have a tree made with Tree Creator (with Tree Creator Shaders) slowly fade over the course of a scene? I am not sure how to change the rendering setting of the tree so that changes in its...

View Article


400 Scriptable objects per 1 datastructure = overkill. Halp plz

Hello everyone! ---------------------------------------- I have a [kd-tree][1] datastructure. The leaf nodes are used to store items. Items hold: a vector position and 4 references to other similar...

View Article


Image may be NSFW.
Clik here to view.

Tree render distance.

Ok so i have a procedural mesh generator that actually renders really well! (Uses height maps). The problem is that i need to be able to make unity3D think that my custom modeled trees are terrain...

View Article

Weird Tree Shading

Ok so i have my Day/Night Cycle and my trees make shadows, but there is part of a shadow that acts weird. Here is an image. (the shadows on the ground work) ![alt text][1] [1]:...

View Article

Tree Chopping

So in my game, i programed so the first person (me) whould chop down a tree, then it would fall and coconuts and wood would spawn next to it. but i have 3 errors that i could not find how to fix. ( i...

View Article

Tree Chopping

So in my game, i programed so the first person (me) whould chop down a tree, then it would fall and coconuts and wood would spawn next to it. but i have 3 errors that i could not find how to fix. ( i...

View Article


Changing Tree LOD level changes all textures to Pink

Hi guys, Whenever I change the Tree lod level or change AO level, for some reason it changes tree textures to pink. This is very annoying, as I have to reimport everything. Does anyone know why this is...

View Article

Flying Trees?

Hi, in my survival games, i have trees that i want to chop down for wood. But everytime i spawn, they float of to midspace, here are the codes: TREE CONTROLLER: #pragma strict var treeHealth : int = 5;...

View Article


Leaves do not appear on custom mesh trunk

I'm using Unity 5.2.1f1 personal. Since the default tree trunk wasn't cutting it, I modeled a custom tree trunk and exported it as an fbx file. In Unity I created a tree and set the mesh renderer to...

View Article

How to distribute leaves to only upper branches of a tree (leaving lower...

I am using the Tree Editor to create some tree assets. I would like the lower branches to be traversable by the player. For the sake of visibility and ease of navigation, I need to minimize the amount...

View Article


Best way to do a tree growth/drop system?

HI everyone! I'm developing a mobile game where you can tap on trees to get a fruit drop or use an axe to chop them and get some wood. If you chop a tree, it then starts growing again. Every tree has...

View Article

PBS on unity trees

Hi, I'm just wondering if it is possible to create a tree with standard unity tree creator , but instead of using Bark shader, i thought of using unity5 Standard shader which supports PBS. Would that...

View Article

Strange White Circles on Trees?

I am very new to Unity and I will need things explained very simply. I have created a new terrain and added trees, but I'm getting a ton of white circles on my trees. They appear like this in scene...

View Article
Browsing all 513 articles
Browse latest View live


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