Failed Setting triangles. No idea why
I've followed quill18's tutorial on tilemaps on youtube. I've made some slight adjusments and it now throws me a Failed Setting triangles error. using UnityEngine; using System.Collections;...
View ArticleDead Rising 2 : Case Zero - How to have so many zombies on screen?
Obviously they're using normal maps, lower poly, and occlusion culling. But, it's gotta be more than that to allow this performance. It seems like they use a blur effect for things not too distant, but...
View ArticleAuthoritative Server help
How do you do simple commands to clients from a server? I have a simple chat room set up and I'd like for my player to send his name to the server and the server sends the name to the chat room. I have...
View ArticleHow to select only the enemies in a range as targets
Okay, I have a list of enemies public var enemies:GameObject[]; That include all of the enemies currently in the scene. I also have a list of targets: public var targets:GameObject[]; Which I would...
View ArticleWindow Inside window
So I have this window, i was wondering if it is possible to put another window inside the scrollbar same as the one outside , so i can use the toggle buttons as menu inside the scroll bar to open...
View ArticleHow many instances of a Object are handled in Unity
On a GameObject, I have a list of AudioClips where many of the AudioClips are the same--will Unity load each instance into memory? Or will it know to just store one instance? Will it affect...
View ArticleHow to get the same texture of other object?
So i have a bot, which have random texture assignment. There is script: #pragma strict var textures : Texture[]; private var rnd : float; function Start () { rnd = Random.Range(1,4); if(rnd == 1){...
View ArticleTree billboarding on custom terrain... or just set up LOD(PRO)?
With a custom terrain, there is a loss of billboarding ability that comes with unity's terrain system. Is it worth making a billboarding system if LOD provides a low poly model of trees? The...
View ArticleUnity Launch error
Every time I launch Unity3D i get this error. Unity.exe - Application Error The application was unable to start correctly (0x0150002). Click OK to close the application. Someone please help!
View ArticleTest if BoxCollider is within another BoxCollider?
Hello Unity Community, Besides writing my own collision detection or using the OnTriggerEnter/Stay/Exit or OnCollisionEnter/Stay/Exit is there another method to determine if a BoxCollider has a part of...
View ArticleAsset Server- Committing a Reverted Project
Hey guys, Ran into a problem, and hoping someone can give me the long shot I need to resolve it. One of our junior engineers was kind enough to check in hundreds of breaking file changes. I can revert...
View ArticleHow do you get input from a moga controller?
Any tutorials or help for moga android development? I'm having trouble getting the controller input with a basic game I'm using for testing out development on the controller. I'm just trying to get a...
View ArticlePerformance issues with grid based terrain
Hello! I'm making a turn based strategy game with a grid-style combat arena (think Final Fantasy Tactics/Civilization). Each arena is a grid of cubes, which can vary in size from 8x8x3 to 40x40x3. This...
View ArticleIs it possible to superimpose a large static image onto selected dynamic...
Greetings. I am exploring engine options now in planning out a game, and Unity looks to be a great candidate. There is one feature I need, though, and that is what I am told is called "alpha matte". It...
View ArticleSpeeding up reading from a RenderTexture
I'm trying to read from a render texture every frame. In my scene, I have a camera that's rendering to a RenderTexture. I need to determine the value of a pixel at a known location in that image. I...
View Articleupdate and lateUpdate function
i know update is used for basic call and LateUpdate is for the physics side of the game does this mean I should use both in the same script or run it all in lateUpdaate when I need lateupdate. I guess...
View ArticleHow to texture LOD model versions?
In the unity docs here: http://docs.unity3d.com/Documentation/Manual/LevelOfDetail.html it shows in the screenshots that the hipoly and low poly meshes are both only using one material. How can you...
View ArticleMecanim Inherit Velocity of previous animation?
I have a jump state and a fall state for my character, but the fall state goes straight down. Is there a way to inherit the momentum of the jumping and apply it during the fall state? Thanks!
View ArticleCould anyone tell me what's wrong with my voxel rendering?
Hey there! I'm making a 2.5D platformer game that uses 3D tiles (basically voxels) and quickly ran into performance issues. With around 30k draw calls and 500k triangles (95% percent of which are...
View ArticleDelayed Movement
Hi, I've got a script that attempts to have the enemy wait a certain amount of time before he will attack. The purpose is to have the enemy become aware of the hero when the hero comes within some...
View Article