Dress Help
Hi guys, Problems like in the picture. How would you suggest a solution? ![alt text][1] ![alt text][2] ![alt text][3] [1]: http://forum.unity3d.com/attachment.php?attachmentid=84335&d=1390919348...
View ArticleImport 8bit .raw file, and 16bit explanation.
Hello, this is my first question here, so please forgive me if I make any mistake. Im trying to create a script that imports .raw heightmaps to a desired terrain (like in the included "Import...
View ArticleUsing custom animations?
Hello, I'm trying to animate my character by using the default animations made by unity (raw mocap) but it doesn't work at all. I'm using Robot Kyle as character and I have already changed Humanoid...
View ArticleFps controller script error
How do i make the fps controller work, at the moment, all it is saying is that the associated script cannot be loaded. please fix any compile errors and assign a valid script. I dont know whats...
View ArticleUsing Itween with Unity 2D, sprite flips over while using orienttopath
I'm having trouble getting my sprite to consistently orient correctly. I've done the trick where you parent the sprite to a rotated game game object, which mostly works, but when the sprite takes...
View ArticleRotate Camera on axis and X axis not working
Hey guys. I'm trying to rotate my camera by click and dragging. If I click then drag my mouse horizontally, I want the camera to rotate on the Y axis. If I click and drag vertically, I want my camera...
View ArticleCan't use any variable from different class/ NullReferenceExcept
Hi everyone! I'm using Vuforia engine with Unity to develop AR apps. I am newbie so got following problems. When I'm trying to get variable from different class in my sources folder. Everything goes...
View ArticleTrigger is behaving sparatically
Hello, I was following this tutorial to make a door. I did it and it worked but now I want to make it a oneway door, and instead of having to press "f" to open and close I want it to open...
View ArticleNullReferenceException when i try to access the transform of the object i...
void OnCollisionStay2D (Collision2D col) { GameObject obj = col.gameObject; if (!hasWeapon) { if (checkIfPickUp (obj)) { pickUpObject (obj); } } } bool checkIfPickUp (GameObject obj) { if (obj.tag ==...
View Articleclone object make a new script
I have an object that I am cloning, when I clone it, they share the one script. Can I clone an object but make it run a new script with but with the same internals? For example, I have a box, I click...
View ArticleBug with Unity Animator?
Whenever I add a condition to an animation my camera wont follow my player anymore. It'll default to (0,0,0) and when I click on the camera in the hierarchy and inspect it in the inspector I see that...
View ArticleParent Game Object to Camera?
I want to parent the game object the script is attached to to the main camera. I have this so far: // Get the transform of the camera var camera = Camera.main.transform; // make it a child of the...
View Articleobject pooling on exact place?
using UnityEngine; using System.Collections; public class ObjectPool : MonoBehaviour { GameObject[] projectiles = null; public int numberOfProjectilesToCreate = 0; // Use this for initialization void...
View ArticleScripts named 'Grenade.js' exist in multiple locations
Hello, I have a free FPS kit from [OneManArmy][1]. And what I did is I imported the locomotion prefab of the soldier in the Bootcamp demo Project into this fps kit project. Then suddenly, these 2...
View ArticleUCE0001: ';' expected. Insert a semicolon at the end. AmbientObscurance.js error
The problem is supposedly at "Assets/Standard Assets/Image Effects (Pro Only)/AmbientObscurance.js(26,44)" #pragma strict @script ExecuteInEditMode @script RequireComponent (Camera) @script...
View ArticleiOS with BinaryFormatter and .Net Sockets
I am using BinaryFormatter to download large, complex pieces of data from my server on iOS, and that requires the micro mscorlib stripping level for it to work. I also want to use .Net Sockets to...
View ArticleA cutscene system that "almost" works...
bool alreadyClicked = false; private string message; IEnumerator TypeText () { foreach (char letter in message.ToCharArray()) { guiText.text += letter; if (Singleton.Instance)...
View ArticleUnity: Cannot find Android Device
Hello, I just reinstalled windows on my computer, and now I am having a problem getting my Unity to recognize my device... I have downloaded sdk, installed jdk, set sdk path on Unity, and set debug...
View ArticlePhoton Networking - Proper Reference Sheet
Hi guys! I have been using photon networking, but much to my surprise, there does not seem to be a document that has and explains all the code for photon networking on unity. Not even on their website!...
View ArticleDraw Button with GUITexture which looks like Unity button
Hey Guys, I was wondering how unity draws buttons (if drawn in the OnGUI function). When I look into a GUI skin, the default button background is an image with only 12x12 pixels. I now want to use the...
View Article