Quantcast
Channel: Latest Questions on Unity Answers
Browsing all 171066 articles
Browse latest View live
↧

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 Article


Are 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 Article


Turning 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 Article

For 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 Article

Facebook 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 Article


Can'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 Article

Escape 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 Article

My 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 Article


If 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 Article


CharacterController 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 Article

I 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 Article

2D 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 Article

Unity 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 Article


Is 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 Article

Unable 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 Article


I 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 Article

GUI 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 Article


Instantiate 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 Article

Problems 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 Article

Is 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
Browsing all 171066 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>