Boat script problems when changing platform to android
OK so Ive been working on some kind of boat android project thingy. i have unity remote on my galaxy s3 so instead of building and deploying the app i would just run it like that. but i kept the...
View ArticleAre Imported SketchUp files bad for optimization?
I'm planning on making a medieval town in SketchUp but I know people have had trouble with Unity and SketchUp. I know how to fix the face orientation problem (where same faces would be transparent),...
View ArticleTurning car's tires left/right
Hi everyone, I'm really new to this so bear with me ^^; I have a car model I made with Maya which looks like this ![alt text][1] [1]: /storage/temp/11528-carmodel.png The problem that I'm facing is...
View ArticleFor loop breaks before 10 objects are created
public class PlatformSpawn : MonoBehaviour { public bool platformMaxed = false; public static int platformSpawned; public GameObject PlatformPre; void Start () { } public void PlatformSpawning() {...
View ArticleFacebook Leaderboard (Android)
Hello, What's the best way to implement a Facebook leaderboard for an Android game ? Is there any good and working unity plugin to achieve this ? I'd like that users when the finish to play, can submit...
View ArticleCan't get angled object to look at moving object
So, this probably is pretty simple but I can't seem to figure it out. I have a projectile launcher which is an empty game object and is on an angle pointed upward. I also have another moving object...
View ArticleEscape key not working
I was playtesting my game and I hadn't tested the pause menu in a few hours (after adding some new menus), but it's just not working. Here is the code I am working with:...
View ArticleMy car wheel sinks quarter into the ground
I have been messing with Unity3D. Imported a car from sketchup and added box colliders top and bottom and included 4 wheel colliders. However during play, my car wheels sink into ground. I maded wheel...
View ArticleIf I use SetActive(false) on an object, can I not use SetActive(true) on it...
Here's the code in question. Once I run SetActive(false) on pause it gives me a nullreferenceexception when I try to set it back to true. if (Input.GetKeyDown (KeyCode.Escape) || Input.GetKeyDown...
View ArticleCharacterController NullReferenceException dispite attached to object
Hi, I am writing a movement script using CharacterController. I have a characterController component attached to my object, but, it keeps returning a NullReferenceException. I have tried creating a new...
View ArticleI can't set the rotation of an object, either with scripts or directly in the...
I'm running into a strange issue - I have two directional lights, whose rotations I'm attempting to set in a script (C#) I've created a transform Array which the two lights are assigned to. I've also...
View Article2D Toolkit will not download to my computer.
Hey, I'm new to the community. So I just paid for the 2d toolkit in the assets store but the download has been stuck at 0%. Help?
View ArticleUnity builds crash when I exit.
Building to an EXE, The application crashes on Application.close(), or clicking the x or hitting alt-f4 "has stopped working: A problem has caused the program to stop working correctly" standard...
View ArticleIs OnLevelWasLoaded supposed to be called twice when using DontDestroyOnLoad?
I notice if I use DontDestroyOnLoad then OnLevelWasLoaded is called twice. I've tested this using Windows 7 x64 Unity v4.1.3f3. In gameobject's that aren't using DontDestroyOnLoad then OnLevelWasLoaded...
View ArticleUnable to make a build?
Hi, I am unable to make a build for android, its saying Error building Player: UnityException: No platforms found Android SDK does not include any platforms! Did you run Android SDK setup to install...
View ArticleI need help with colliders.
Hi. I'm new to Unity. For example, I made a character on Blender that is composed of multiple objects. It's kind of like Kirby. Then I want to export it to Unity so I can use it for a game I'm making....
View ArticleGUI Scale Using Matrix
hello, i want to scale my gui elements using matrix by clickiing a gui and another clicking it will go it's first stage , pls help me. - thanks
View ArticleInstantiate issues
Hello All, I have opened a new project of a common 2D style for pratice. However, I have been stucked on some problems, Please feel free to give help hand if possible. 1. This is one of the them.I have...
View ArticleProblems with GUI textfield
Hi, i have some problems with my GUI textfield. I have 6 textfields in different 6 scenes. When I fill one of them and it saves, in all others automaticly adds same text. And i cant edit it. Note -...
View ArticleIs it possible to use a simulation space besides local or global?
Is there any way to use an arbitrary transform as the simulation space for a particle system? I've got a bunch of GameObjects with a highly-mobile camera in their ancestry, and I'd like for the...
View Article