class design preference
If you were designing a class that could be used for a few different types of objects, and not every property was used for every object type how would you do it between the two versions here? Mainly,...
View ArticleGL.LINES dashed (stippled) - why?
If I only use 2 vertices for GL.LINES, I get a solid line as expected. However for some reason if I use more than 2 vertices, the line ends up looking dashed. I'm no GL expert, but a Google found...
View Articlecustomizing loading page
According to this documentation http://unity3d.com/support/documentation/Manual/Customizing%20the%20Unity%20Web%20Player%20loading%20screen.html you can replace the Unity logo with your own image by...
View Articlesimple collision not working
I feel stupid to have to ask for help on this. I have a player object with a capsule collider (I don't want to use the character controller because I don't want gravity). I also added a RigidBody...
View ArticleRenderTexture usage in PostProcessing effects
The documentation says this: "Note that while RenderTexture assets can be only power-of-two size, it is possible to create a non-power-of-two (rect) render textures from scripts. These are most often...
View ArticleJapanese character support on iOS
The default Arial font displays Japanese characters. However, if I try to use an imported font, I get the warning that dynamic fonts aren't supported on this platform. Then the Japanese characters...
View Articledetecting locale on iOS
Is there any way to detect the current locale of the iOS device? It's sort of important when localizing a game. I don't see anything in the docs.
View ArticleCompiling plugin for iOS - need more info.
I looked at these docs: http://unity3d.com/support/documentation/Manual/Plugins.html But they really skim over it. Exactly how do I compile an Objective-C function and get it to work in Unity? Is it...
View Articleshader diffuse color too dark
I know practically nothing about programming shaders, so I need some very simple help. This is a very basic shader for making a solid color with a specular highlight, targeted at iOS. It works fine...
View ArticleOnPostprocessAllAssets is not doing anything
I have implemented this based on the information here, except converted it to C# http://unity3d.com/support/documentation/ScriptReference/AssetPostprocessor.OnPostprocessAllAssets.html However, it...
View ArticleUnity services is having major issues
Not recognizing my project id. Failing authentication. "Request Failed Grizzly 2.3.30" message on web page. I can't make a build because unity can't reach the services. <- This last thing is the...
View ArticleHow to know if UnityWebRequestAssetBundle.GetAssetBundle is using a cached...
I am loading asset bundles using UnityWebRequestAssetBundle.GetAssetBundle() per the documentation. Supposedly it automatically handles caching (I pass in a version number). However, I'm not certain...
View ArticleHow to rotate around an axis so that another axis always points down? (see...
I'm using LookAt() to make characters look at things (like the camera). However, the more their body is turned away from the object, the more their head tilts strangely instead of always keeping the X...
View Article