Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [unity]

Unity is a cross-platform game creation system that focuses on easy art pipeline process. It consists of a game engine and an integrated development environment. The game engine's scripting is built on Mono.

0
votes
1answer
1k views

'No Platforms Found' error in Unity Android

I am having a problem with Unity Android - every time I try to "build", a 'No Platforms Found' error pops up. Thing is that I already have Android SDK in my computer (copied it into my G drive from ...
2
votes
2answers
21k views

Creating offline multiplayer Android games with Unity

Is it possible to create offline multiplayer Android games with Unity (played over bluetooth/ wi-fi)? If so, then I would like to create a 2 player game prototype, containing a single room (empty cube)...
1
vote
4answers
406 views

Can I transfer C# coding I do in Unity for practice to another 3d engine?

If I use a C# coding in Unity 4, can I transfer that coding into another non-Unity engine as long as it accepts C# too? I hope this question makes sense. Thank you in advance.
3
votes
2answers
830 views

Moving character on x axis

I am new to unity scripting. I am trying to move my character towards right side(on x-axis) to create a running effect, I've imported the character from blender which contains two animations, "jump" ...
1
vote
2answers
9k views

Unity3d how to show an image downloaded from HTTP

I am bit new to Unity3d. I am fine with any solution either of the scripts. Can we render an image in unity3d (which we have to download from HTTP path)? If yes then how or do you have any reference? ...
9
votes
1answer
8k views

How to create high quality and fast portal effect?

EDIT: So I've gotten the portal visual effect working with no performance hit, and I've got the physics set up of objects with rigidbodies moving through portals seamlessly, and objects with character ...
1
vote
1answer
477 views

Spawning enemies at way points [closed]

I'm trying to have my game spawn enemies when ever the player reaches a way point. Right now, I have this functionality working. When my player gets to the first way, the enemies spawn. He only moves ...
0
votes
1answer
170 views

Would a custom mod built for RakNet be automatically usable with Unity?

Context: I'm interesting in developing a security module for servers that handle mobile games, and I'd like it to be usable by the most people possible. So I'm trying to decide what server software I ...
0
votes
1answer
1k views

Using 4096*4096 background image in uinty tk2d

I am new to Unity and I am developing a game using unity its a 2d game i am using tk2d framework. I have a big background image(4096*4096) how can I load this background so only visible part of the ...
3
votes
3answers
5k views

Getting correct angles between Vector3s

I'm working on a project where you can draw lines between points. You select one point and drag the mouse onto another point and a line is drawn between them. The line itself is a 3d object which is ...
0
votes
1answer
318 views

Gravity/collision problems: models jumping

I'm pretty new to Unity3D game engine and game development, so don't judge me strictly. I import a model of the rail track, add rigid body component (with mass 1 and use gravity flag) and box collider ...
0
votes
1answer
495 views

unity3d nullreferenceexception [closed]

i want to display a mesh sequence so i imported my obj files and found a script and partially edit it a bit.My project looks like this: the script is this: using UnityEngine; using System....
-1
votes
1answer
524 views

I want to start making 2D Games with C++ or #C [closed]

I know C++ pretty well, I think - polymorphism, vectors, templates, and more. I also know C#. I want to program a 2D game, but not like those programs where you click a button or two, and you ...
-2
votes
2answers
949 views

What knowledge do I need to learn Unity? [closed]

What do I need to get into using Unity? Do I need some knowledge in any language in particular? Can I just get to know the program with tutorials? What would you recommend?
6
votes
3answers
15k views

Rotate object to always face camera

I'm trying to make a TextMesh appear when ever an enemy prefab is hit. I currently have this functionality working. However, the text doesn't face the direction the players camera is looking. At the ...
2
votes
1answer
151 views

Mixing animations

I'm working on a swing animation and mixing it with a turn animation in a motorcycle game. The issue is that for the swing animation to work while turning only the swinging arm has to animation, ...
0
votes
1answer
1k views

Quit the application when clicking cancel button of Alert View in C#

Can someone guide me as to how can I make an application quit when you press the cancel button of an Alert View in C# code? Thanks I forgot to add that I am trying to quit application on clicking ok ...
0
votes
1answer
224 views

Dynamic model scaling

Imagine a (3D) game like Railroad Tycoon 3. Player selects a rail track, clicks LMB and drags the mouse to the end position. During this drag, the rail track model scales and adopts to the landscape, ...
0
votes
1answer
7k views

Voxel terrain engine [closed]

Is there some voxel frameworks or extensions for game engines like Unity? I really need a system to dynamically generate voxel ruinable terrains.
8
votes
4answers
11k views

Mixing threads and coroutines in Unity3D Mobile

I had a coroutine in Unity3D that downloaded a zip from a server, extracted it to the persistent data path, and loaded its contents into memory. The flow looked something like this: ...
1
vote
1answer
243 views

Speech recognition and AI in language learning platform [closed]

I work for a publishing company that is looking to create an online virtual environment for English Language Learners. We are keen to create something immersive (virtual 3D world) through which the ...
2
votes
1answer
17k views

Unity: OnCollisionEnter not called

I created a sphere object, added a rigidbody component (no kinematics) and attached a script to it like this: ...
2
votes
1answer
1k views

Translating a terrains position using input in Unity 3D C#

I am trying to make a terrain in Unity move, but im having trouble. Here's the code i have. ...
6
votes
1answer
1k views

Can I use p/invoke in libraries loaded as assets in Unity Free?

I am interested in using utilising third-party libraries in Unity Free. I know Unity can use managed libraries as assets, but only the Pro version supports using native libraries (...
2
votes
1answer
3k views

How to set an EditorGUI foreground color for the light Unity skin?

Writing an asset management GUI as part of our editor tools, I am in some places colouring LabelFields. Working mostly in the dark Pro skin, this seems to work just fine: ...
1
vote
2answers
2k views

How to make a gui button follow a path after a touch?

I would like a button in my gui menu to follow a specific path if we selected it, I am wondering how I could do it: if we touch the button, then it can only move on the specific path, it is an arc ...
1
vote
2answers
895 views

Dynamic Textures

I am pretty new to this 3D designing and animating, and as an indie developer I need to do everything on my own I have created this simple box character And I want to texture it, have looked around ...
1
vote
1answer
50k views

Free animated character models for my first Unity game [closed]

I am creating my first game in Unity for my intra-college game development competition. A hack and slash type of game. It's about a warrior who is escaping from a prison. Setting is medieval times. ...
3
votes
1answer
7k views

Problem with default 3rd person controller in Unity 4

I am new to Unity. Whenever I am importing the default 3rd person controller (construction worker) in my scene and clicking the play button, the model seems to be in the running pose. The control ...
3
votes
2answers
1k views

Should I calculate in meters or pixels

In my car sim I am doing my calculations in Standard Units, except for the distance which is in pixels. Is this still correct (my guess is no) or should I use Meters ? If I should use meters what is ...
5
votes
2answers
2k views

Does Unity's “Transparent Bumped Specular” translate to “semi-shiny must be semi-transparent”?

Unity's documentation for the "Transparent Bumped Specular" shader/material-type is simply a concatenation of each of the descriptions for its Transparent and Specular Shaders (and also Bumped, but ...
4
votes
1answer
2k views

Poor image quality on Android through Unity Remote

I have started to work on the company's latest project using Unity3D and the workflow is just awesome. The problem is when running the game on a real Android device (using Unity Remote) the image ...
2
votes
2answers
922 views

How to make a Unity3d program/plugin and publish it on Asset Store?

I want to make a plugin for Unity3d, like TornadoTwins's FPS Control. How can I do that? I already have Visual Studio 2010 installed.
12
votes
3answers
6k views

Are .sln / .csproj usefull for sharing the Unity project?

We are experiencing some problems with GIT and Unity. It occurs pretty often that file .sln / .csproj give us some trouble, so after searching for a while on the web I've found that maybe this files ...
3
votes
1answer
307 views

Messed up UVs in Unity3D for Android

All of my quads appear correctly textured on the Unity3D editor, a Motorola Xoom Android tablet, and on an iPad 2: But on our Samsung Galaxy Mini 2 smartphone they kinda look like this: I wrote a ...
2
votes
1answer
1k views

Shooting Bullets Around a Sphere

I currently have a ship that can orbit around a sphere freely controlled by a joystick. There is a separate joystick that controls the gun and starts shooting when it is touched. Right now the ...
9
votes
1answer
2k views

How to occlude lights in Unity3D?

First off, I own Unity Pro. I've been looking in to occluding lights when they aren't being viewed for a while now to improve performance. The main methods I ran in to were using BecameVisible() and ...
1
vote
1answer
992 views

Unity3d select empty gameobjects in scene

I have a pathing system that I am creating in Unity. When you add nodes to denote the path, I create a empty GameObject and render it in OnGUI as a square. The problem that I have is clicking on the ...
7
votes
2answers
11k views

How can I prevent seams from showing up on objects using lower mipmap levels?

Disclaimer: kindly right click on the images and open them separately so that they're at full size, as there are fine details which don't show up otherwise. Thank you. I made a simple Blender model, ...
13
votes
3answers
40k views

Typical Maximum steering angle of a real car

I'm building a car sim in Unity3D. I'm trying to set the properties of the car to be as realistic as possible. I can't seem to get a straight answer on Google so I thought of asking here. What is the ...
1
vote
1answer
656 views

Asset workflow for Blender models?

As a coder, I don't have much experience in asset creation workflow. I'm trying to figure out the best way to work effectively with Unity + Blender combo. I don't export to FBX, I prefer to work ...
10
votes
1answer
541 views

Getting a 2D “pixel” cloud to follow a mouse

I'm working on a 2D game trying to get a "cloud" of a few hundred tiny cubes or discs to follow my mouse cursor without overlapping each other. However, using the physics engine introduces ...
5
votes
1answer
664 views

Unity3D Camera constantly moving

I'm trying to make my own first person camera controls in unity that use both thumbsticks on a joypad. I have this working fine. However, when I move the right thumb stick (the one uses to look left / ...
0
votes
1answer
3k views

How to obtain a camera stream from Unity without rendering it to the player's screen?

I'd like to stream the output of two cameras to a separate process. Right now, it looks like the best way to do that is to grab the rendered camera views from the screen via platform specific screen ...
5
votes
1answer
3k views

How do I set up in-app purchasing in iOS?

I am using Unity and I developing an app for iOS. How do I implement in-app purchases that work world-wide?
0
votes
4answers
6k views

What are the hidden cost while deploying game with Unity3D?

I just started learning Unity3D. I created a small 2D game, and I want to host for Windows, iPhone, iPad, Android, Windows 8, Xbox and even on websites. I created it using free Unity3D editor. Now I ...
16
votes
3answers
6k views

How do I blend 2 lightmaps for day/night cycle in Unity?

Before I say anything else: I'm using dual lightmaps, meaning I need to blend both a near and a far. So I've been working on this for a while now, I have a whole day/night cycle set up for renderers ...
1
vote
3answers
901 views

Unity3D smooth movement with joypad button press

First off, I'm sorry this is such a silly question, but for the life of me I can't seem to get it to work. And I've just spent the last hour trying to do so. All I want to do is have my camera move ...
1
vote
1answer
8k views

Programmatically creating billboards in unity

What is the most efficient way to render a billboard in Unity? In order to apply a texture to something must it be a GameObject with a ...
4
votes
2answers
547 views

Unity game onto Windows 8 store

I've been searching around the web to see if it is possible to submit a unity game onto the windows 8 store. All I have found so far are articles months old saying it is coming soon, can anyone give ...