Tagged Questions

Unity is a highly cross-platform engine that focuses on easy art pipeline process and uses Mono as its scripting back end.

learn more… | top users | synonyms (1)

3
votes
1answer
173 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 ...
2
votes
1answer
382 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 ...
2
votes
0answers
604 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
450 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 ...
5
votes
2answers
3k 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, ...
7
votes
2answers
6k 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
377 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 ...
9
votes
1answer
411 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 ...
3
votes
1answer
335 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 / ...
-2
votes
1answer
801 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
1k 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
2k views

hidden cost while deploying game with unity3d

I just started learning unity3d. I created a small 2d game, I want to host for windows, iphone, ipad, android, windows 8, xbox and even in websites. I created it using free unity3d editor. Now I want ...
13
votes
2answers
2k 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
568 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
3k 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 Mesh component? In which case, is my best bet to create a ...
4
votes
2answers
524 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 ...
-1
votes
3answers
4k views

Does Unity support 2D tiles/blocks? [closed]

I'm working on an XNA isometric game and I've already done lot of work. Since XNA is going to be discontinued, I'm not sure if I should change engines or not. So I'm looking into alternatives. I'm ...
4
votes
2answers
3k views

Where and how to check if game was developed with bought Unity3D licence (not cracked app)?

We hired an external team from Eastern country. They built our mobile game app using Unity3d which we paid a lot of $K. We asked them to only use the software with bought license, not cracked one, and ...
0
votes
2answers
223 views

Is it possible to push real-world, real-time data into Unity? [closed]

I'm pretty new to this, and I'm having trouble figuring out where to even look. If there's relevant terminology that'll be google-able, that would be a great help. Suppose I want to have a monitor ...
0
votes
2answers
515 views

Using crittercism with Unity

I want to use crittercism with my Unity project. In Unity I am developing a game for iOS and Android platform. I did enough Google searching to come to the conclusion that Unity doesn't support this ...
2
votes
1answer
282 views

Sound activated particlesystem

I am trying to make a particle system that is activated by sound. Like emitting on the beat resizing on the beat and such things. I found some nice tutorials on how to make things like ...
0
votes
0answers
96 views

Sceneview Lags when using Arrays

I'm getting a strange behavior here - when i create a simple C# script which holds an Array of classes, where both, the script class and the array classes, are marked as Serializable, my sceneview ...
0
votes
3answers
1k views

Lerp vs Vector math: one better than the other?

In Unity3D (all versions, I believe), there is a static function for the Vector3D class called "lerp". It interpolates a point between two points a point, based off a provided percentage related to ...
0
votes
1answer
758 views

Unity3D GUILayout Window Wont Show Components

I am fairly new to Unity, but picking things up quick. This is actually one of the first problems I have come across that has me stumped. I am trying to print a good amount of components onto my GUI ...
0
votes
1answer
1k views

NavMeshAgent in Unity giving jerky performance

I am using NavMeshAgent in my Unity project to calculate and move my object to a particular location. When I do: navMeshAgent.destination = destinationPt the object starts moving, but the motion ...
8
votes
4answers
7k views

How can I draw an outline in Unity3d?

I am trying to highlight a rectangle of arbitrary height. I thought the easiest way to do this would be to create a separate "box" gameobject that outlines the rectangle. I've tried with both a ...
1
vote
1answer
3k views

Move Object Around Sphere in Unity3D

I am trying to get a GameObject to be able to be controlled to move freely around a sphere using a virtual on-screen joystick. I am building this for iOS and Android in Unity. I am using the standard ...
2
votes
1answer
2k views

NGUI UIInput - Reset value of password field

How do I reset the value of a NGUI UIInput control that marked Is Password. If I set .text to "" I still see a bunch of **** rather than the .defaultText. Basically if the user types the wrong ...
2
votes
1answer
464 views

Camera movement using WASD on x/z plane only

I've been wearing my enter key down on google searches - I have a camera script based on the MouseOrbit.js asset. That's all working fine, but in addition to the basic orbiting and the zooming that ...
2
votes
2answers
723 views

How can I prevent clicks from going through a GUI.Box?

I have a GUI.Box that I slide in from the side of the screen. How can I prevent mouse interaction from going to any objects under it (another GUI.Button for instance, or for that matter an ...
1
vote
4answers
2k views

How to differentiate between instantiated objects in Unity?

I'm currently trying to solve a way to go about the following problem before I start writing any code (the old fashioned pen and paper way) but I'm not sure how I could achieve the following. I'm ...
3
votes
1answer
210 views

How to approach skinning a snake made of cubes and is it right method for snake 3d game

I'm making a 3d snake game clone for studies and prettly much got everything to work, I have a 3d ground object surrounded by walls, and a snake head piece (cube). when you start the game 2 additional ...
4
votes
2answers
1k views

Unity's “Stats” window displays bizzare number of triangles and vertices

In my Unity scene I have: 7-8 Barrels (with lids) each at about 2-400 triangles. 4 planes, each at at the very most 200 triangles camera, 3 lights, a FPS controller When I turn on the "Status" ...
1
vote
1answer
258 views

Using OpenGL GLEW within Unity

Edit:- How do I implement GLEW (or OpenGL extension libraries) within Unity? Original Question:- I've recently been looking into some really nice features of OpenGL 3.2 that I want to take ...
2
votes
2answers
2k views

How do I simulate a crowd in the stadium stands?

I'm working on a mobile sports game with Unity. I'm wondering how I could create an efficient effect of an audience in the stadium. I know that with more than 15 characters in my games (with 1800 ...
1
vote
1answer
353 views

Keybindings in Unity

I need to know how to bind keys to actions through Javascript within Unity. When I develop web applications, I normally use this: var KeyBind = function() { if (document.addEventListener) { ...
1
vote
1answer
557 views

Armature in Unity3d distorted

On the left is a base mesh with armature in Blender. I imported this model and armature into Unity3d. The result is on the right. The arms are clearly distorted, and I can't seem to fix it by ...
3
votes
1answer
585 views

Dynamically save an assetbundle during run time

I'm wondering if it is possible to dynamically save / amend a current asset bundle during the running of my Unity application. I've been looking into this for a few hours, but can't find anything ...
1
vote
0answers
200 views

How to play a movie on top of a webcam texture

I've been through the Unity docs, searched here, and on stackoverflow; I have not found any good information about using the WebCamTexture for my purposes. So here goes, how do I play a movie asset ...
5
votes
2answers
521 views

Detecting Light Intensity Around Characters

Later Edit Since there seemed to be a bit of confusion: I am asking this for purely didactic reasons, I'm not searching for the most efficient solution. Reformulated question: I'm working under ...
1
vote
1answer
156 views

Triangles in the corners of skybox

When looking at the corners of skybox this happens: http://i.imgur.com/H8XvS8I.jpg How to get rid of this? 6 skybox textures are 2048x2048px each. Tried changing Near and Far clipping of the main ...
0
votes
1answer
602 views

A good approach on working on player controller for movable platforms?

I have got my player controlling working out decent enough, except with mediocre animation controller for the player, but oh well. All I have done so far is basic input: move, run, jump, multi-jump. ...
2
votes
3answers
2k views

How to start in animating my model?

I got a model from TurboSquid. Which is an archer and when i imported the model I got all the textures to be put on properly. The thing is the actual character has no children nodes, is it possible ...
3
votes
3answers
2k views

In Unity, can I load a local (/Resources folder) website to safari on an ipad

In Unity, can I load a local (/Resources folder) website to safari on an ipad? This works fine on a Mac, opening up a wepage from my Resources folder. string path = ...
2
votes
1answer
166 views

How do I gain access to objects in order to change their properties in Unity?

I have created a GUI text object named "GUIText" in the Unity editor, and I want to change what the text says via code (I'm using C#). How do I access GUIText1 to change its string properties? I want ...
3
votes
1answer
2k views

Rushing water in unity

How would I go about creating a river with rushing water. I can do the texture around it but I'm stuck on the actual water part. This is in unity3d.
4
votes
2answers
1k views

Disable autorotation if Android has it disabled

I'm making a game for Android in Unity. I wanted the game to handle screen rotations, so I set "Default Orientation" to "Auto Rotation. This works well, except for one issue: If you disable ...
3
votes
1answer
1k views

How do I properly use particle simulation in Unity?

So I'm using Unity's simulate function to pre-render particles. It seems that simulate is not quite working as to what I expect. It's most likely a setting that I missed. But I just really cannot find ...
3
votes
1answer
458 views

Unity editor stalling on second attempt to play

I am attempting to use a Tobii TX300 eye-tracker as an input device for Unity. This device is connected via LAN (TCP connection managed by Tobii SDK). The Tobii SDK has appropriate methods (I am ...
1
vote
0answers
739 views

Unity3D: collider performances on mobile iOS devices

I'm experimenting with Unity3D and colliders. Unfortunately I still don't have Unity Pro version and I can't use the profiler. Consider the following situation: mobile devices (ios, iphone 3GS). an ...