Answer by team_eden
On the same subject when you instantiate the clone, set the name of the clone to the name of the referenced GameObject, and simply add the number of your array loop, or keep track of your...
View ArticleAnswer by team_eden
Try to simulate the combined effect on one physic material? You can also script your player to act a certain way when it hits the terrain with a terrain tag, and modify your movement accordingly....
View ArticleAnswer by team_eden
It is possible the errors in the files are so bad they are crashing the pre-complier, which would otherwise be spitting out more useful errors. Try fixing up some of the loose code, or starting a new...
View ArticleAnswer by team_eden
Please post your solutions as an actual answer so others can reference this in the search indexes. Thank you ------------------------------------------ In the Unity 'Color' struct, values for r, g, b,...
View ArticleAnswer by team_eden
Your answer May be found here: http://answers.unity3d.com/questions/486356/why-do-i-get-nan-values-in-this-code.html
View ArticleAnswer by team_eden
Alternatively you can turn off the object's mesh renderer, and collider, until the particle cycle finishes; then, destroy the object. -TE
View ArticleAnswer by team_eden
var texturesIn: Texture2D[] =new Texture2D [15]; var textureInSplats:SplatPrototype[] =new SplatPrototype[1]; function changeTexture(inTexture:int) { textureInSplats[0] = new SplatPrototype();...
View ArticleAnswer by team_eden
TreeInstance contains a variable called 'lightmap' which is a type Color. Set this to something like Color(0.5,0.5,0.5,1.0); Works now. And this answer trumps all others I have found up til now. My...
View ArticleAnswer by team_eden
I am having the same problem. When trees get to close to the camera field of view, they suddenly disappear when the trunk of the tree gets out of view. All of a sudden, the leaves disappear, just...
View ArticleAnswer by team_eden
Use the new UI system, and use a slider with stretching anchors. In fact, as I can probably tell your trying to make some sort of HP style menu bar here, just set the colors/widths, and your set!...
View ArticleAnswer by team_eden
Because I'm trying to stay in a good mood today. And also, more people should post in JAVA! This script allows you to set both a click, and double right click, while differentiating if the left was...
View ArticleAnswer by team_eden
> var lastDirY:float=transform.eulerAngles.y;>> if(inputZ == 0 || inputX == 0) { > transform.rotation.y=lastDirY; } Cheers!
View ArticleAnswer by team_eden
then the position of your game object is reaching behind the cube? you need to set an anchor for your ray which is not part of your main object, as it apparently reaches farther away than the position...
View ArticleAnswer by team_eden
You need to go into Unity>Edit>Project Settings>Quality and increase your "Pixel Light Count" to something like 100. Good luck
View ArticleAnswer by team_eden
First you will need a 2nd image of the same size/resolution as a dummy image. Dummy image is the one that will be on your level floor. Now, the box that you show representing Where to color in, you...
View ArticleAnswer by team_eden
Attach this to your cube. Also reference http://docs.unity3d.com/ScriptReference/Object.DontDestroyOnLoad.html function Awake () {DontDestroyOnLoad (transform.gameObject); }
View ArticleAnswer by team_eden
Unity has native libraries that must be included to function on your platform. Is one possible reason. GL
View ArticleAnswer by team_eden
Add to your Canvas a component type Canvas Renderer, and set the resolution manually. This will scale the way you describe when done properly. You need to reference the unity docs regarding UI.Canvas...
View ArticleAnswer by team_eden
There are assets in unity available for free such as 'Prototyping' which allow you to create simple shapes inside the editor. I suggest using this fashion, until you are satisfied, then start making...
View ArticleAnswer by team_eden
This is not your fault, the server is simply confused by so many requests from the same ip address. I can verify this by connecting to the asset store from a different device at the same time...
View Article