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)

0
votes
1answer
459 views

Unity 5.1 audio issues (no sound in back channels)

I've trying to bring in surround sound audio into my project. I've set my computer up to run in 5.1 and when I play a 6 channel audio through windows media player (it's a test audio that does left ...
11
votes
3answers
2k views

The reasons behind Unity3D engine design (game object/transform component)

I'm trying to understand the reasoning behind Unity3D engine design and this is something I can't get my head around yet: why is transform data stored in a separate component, instead of being a part ...
5
votes
1answer
263 views

Dynamic Components

I am attempting to design a component-based architecture that allows Components to be dynamically enabled and disabled, much like the system employed by Unity3D. For example, all Components are ...
2
votes
1answer
636 views

How to use proximity sensor in android with unity3d?

I want to create a android game with unity3d using proximity sensor an I don't know how to access that sensor with java script
20
votes
9answers
11k views

I prefer C/C++ over Unity and other tools: is it such a big downer for a game developer? [closed]

We have a big game project using Unity at school. There are 12 of us working on it. My teacher seems to be convinced it's an important tool to teach students, since it makes students look from the ...
1
vote
1answer
133 views

1 kb swf file created when building to flash in unity

I am trying to build a project in flash that I have made. It goes through its building process, but when it is done the swf file that it creates is 1 kb in size. I am not sure what I am doing wrong or ...
0
votes
3answers
564 views

If I were to start an Android or iPhone app or game, what program should I use? [closed]

I don't really know a lot about programming and the only things I do is using codes with Gamemaker, but I have read that it is too basic and it can't be used with iPhone or Android. Is there anything ...
1
vote
1answer
4k views

Rotate to a set degree then stop Unity [closed]

I'm trying to make an object rotate up on the Y axis 90 degrees, then stop. I've got the rotating up bit working fine, it's getting it to stop once it hits 90. Some of the things I've tried include ...
4
votes
1answer
1k views

Custom shadow mapping in Unity 3D Free Edition

Since real time hard and soft shadows are Unity 3D Pro only features I thought I will learn Cg programming and create my own shadow mapping shader. But after some digging I found that the shadow ...
1
vote
1answer
709 views

Strange behavior of RigidBody with gravity and impulse applied

I'm doing some experiments trying to figure out how physics works in Unity. I created a cube mesh with a BoxCollider and a RigidBody. The cuve is laying on a mesh plane with a BoxCollider. I'm ...
6
votes
1answer
398 views

Huge 2d pixelized world

I would like to make a game field in a indie-strategic 2d game to be some a-like this popular picture. So every "pixel"(blocks) changes it's color slowly, sometimes a bright color wave happens, etc, ...
3
votes
3answers
2k views

Multiplayer API with Unity 3.5 and AS3

On the faq for the current preview release, http://unity3d.com/unity/preview/faq it says that while networking is not currently supported for flash compilation, we can write our own in AS3 using the ...
0
votes
3answers
924 views

How Would I create alternate players (Turn base Event)

The picture above shows 2 players. Each containing 3 characters. I want to know how to make a Turn based event starting with player 1 alternating turns with player 2. And in every alternation ...
3
votes
1answer
3k views

Changing the size of shuriken particle effects to simulate a torch flame Unity3D

Basically I'm trying to use the "Flame" particle effect to simulate the flame on a torch. My problem is the flame is far too big. I've been trying too figure out how to resize the flame to fit the ...
2
votes
1answer
2k views

Unity3d - setting gameobject position by percentage of view

I am having trouble finding a way to set a gameobject's position with regards to the screen size. I am building a 2d game that I will be putting on iPhone, iPad, and Android. I need to be able to set ...
1
vote
1answer
1k views

Unity: parallel vectors and cross product, how to compare vectors

I read this post explaining a method to understand if the angle between 2 given vectors and the normal to the plane described by them, is clockwise or anticlockwise: public static AngleDir ...
1
vote
0answers
368 views

5.1 sound in Unity3d 3.5

I'm trying to implement 5.1 surround sound in my game. I've set Unity's AudioManager to a default of 5.1 surround and loaded in a 6 channel audio clip that should play a sound in each of the different ...
5
votes
2answers
3k views

Keeping the camera from going through walls in a first person game in Unity?

I'm using a modified version of the standard Unity First Person Controller. At the moment when I stand near walls, the camera clips through and lets me see through the wall. I know about camera ...
2
votes
3answers
5k views

Game engine like Unity 3D that allow me to use .NET code

I've been looking at Unity 3D for developing a 3D PC game and I really like the scene editor and how it simplifies the process of constructing 3D scenes, managing assets, animations, transitions etc. ...
-1
votes
1answer
551 views

Off center projection

I'm trying to implement the code that was freely given by a very kind developer at the following link: ...
2
votes
1answer
3k views

Understanding Unity3d physics: where is the force applied?

I'm trying to understand which is the right way to apply forces to a RigidBody. I noticed that there are AddForce and AddRelativeForce methods, one applied in world space coordinate system meanwhile ...
6
votes
3answers
6k views

shader tutorial for unity

I would like to start developing my own shaders within unity. For starters I would like to do a screen spaced blur. Are there any good tutorials to learn shader development besides the official ...
1
vote
1answer
1k views

What kind of shader is this?

Cube World uses a pretty good looking shader, I especially like the shading of the characters: Is this soft shading? I'd like to achieve this effect in Unity 3D Free, but since the free version ...
3
votes
1answer
230 views

How can I generate a 3d model via a series of transforms?

Is it possible to generate 3D models using some sort of object transformation (like it's shown here), using PovRay or any other tool, and import them into Blender / Unity? For example starting with a ...
7
votes
3answers
383 views

Why doesn't light continuous on my model?

I created a basic textured cube model with Blender to practice modeling, and then I imported it into Unity. After I put up some lighting it looks pretty ugly. The light is not continuous on a row of ...
2
votes
1answer
3k views

Unity custom shaders and z-fighting

I've just readed a chapter of Unity iOS Essential by Robert Wiebe. It shows a solution for handling z-figthing problem occuring while rendering a street on a plane with the same y offset. Basically ...
5
votes
2answers
249 views

Hide individual regions on a territory map

I have a map of adjacent irregularly-shaped territories. It happens to be a county map, but that's not important. In the game, the player only sees a few to start, and as he progresses to new ...
2
votes
1answer
921 views

Unity3D: default parameters in C# script

Accordingly to this thread, it seems that default parameters aren't supported by C# script in Unity3D environment. Declaring an optional parameter in a C# scirpt makes Mono Ide complaint about it: ...
0
votes
1answer
1k views

How to get GameElements (RigidBody) size in Unity

I've made a prefab consisting of a Cube which I've first scaled to more resemble a brick. There's also a Rigidbody added to the cube (in the prefab). Now I want to use that prefab in a c# script to ...
0
votes
1answer
284 views

Control convention for circular movement?

I'm currently doing a kind of training project in Unity (still a beginner). It's supposed to be somewhat like Breakout, but instead of just going left and right I want the paddle to circle around the ...
1
vote
1answer
476 views

How can I export mudbox joints to .fbx?

When I export my Mudbox mesh (level 1), with its skeleton selected, to a .fbx and import it into unity, I don't get the bones/joints/skeleton/whatever under my mesh in the hierarchy. Am I missing ...
2
votes
1answer
415 views

Distributed Rendering in the UDK and Unity

At the moment I'm looking at getting a game engine to run in a CAVE environment. So far, during my research I've seen a lot of people being able to get both Unity and the Unreal engine up and running ...
3
votes
1answer
5k views

Can I use an animated gif as a texture?

I want to have a plane that shows an animated Gif as it's texture, so essentially it will be a movie. Can I apply an animated Gif as a texture? If so, does it apply like a normal texture? Note: I know ...
2
votes
1answer
1k views

2d games unity vs Flash [closed]

do people find unity better than flash for 2d games while unity is 3d engine , or Flash still better because it's made for 2d games and flash can get the job done faster ,and now flash is better for ...
4
votes
1answer
7k views

How to detect collision in Unity3D without rigid bodies?

The target platform of my game is mobile devices therefore I try to develop it performance oriented. It will be a strategy game so I don't really need physics in it, consequently I did not add ...
1
vote
1answer
774 views

Scene graph in Unity3D

I was wondering if any scene graph-like mechanism is implemented into Unity3D? For example if I have a GameObject, can I add child cubes to it so when I rotate the parent GameObject, the siblings will ...
6
votes
1answer
699 views

Creating custom collision map for 2D

I have a 2D level that I have built in my map editor, and I was wondering the best way to create a collision map for it. I have a collision map layer in my map editor, which saves each node (for ...
0
votes
1answer
1k views

Calculate the angle between two 3d vectors: Function always returns 89.1-89.9

I have my own 2d game and I am attempting to calculate the angle between 2 GameObjects. My Problem: My function that is meant to calculate the angle(direction) between 2 Vector3's doesn't appear to ...
4
votes
2answers
1k views

How can I prevent pixel artifacts on programatically generated textures?

In the game I'm developing, rooms can be of various sizes, which means I need to vary the size of the floor texture appropriately. The way I've solved this problem is to generate a Texture2D ...
0
votes
1answer
371 views

How do I prevent dynamic GUI elements from overlapping in Unity?

I'm working on a birds-eye-view for our Unity3D game world, where each point of interest has a label hovering above it. The problem is that sometimes they overlap, although there is more than enough ...
1
vote
1answer
1k views

Make CharacterControllers in Unity not collide with each other

I'm trying to spawn a number of CharacterControllers and have them move around an area, but they keep getting stuck on each other. Is there a way to make them pass through each other while still ...
1
vote
2answers
285 views

unity3d camera movment problem

when i turn the camera with var tspeed:float=2.0; function Start () { } function Update () { if(Input.GetButtonDown("tleft")){ transform.Rotate(0, tspeed* Time.deltaTime, 0); } ...
2
votes
2answers
685 views

Do I have too many colliders on my screen?

I'm running into a situation where my frame rate drops from 70 FPS (on my desktop computer) down to 5 FPS (on my iphone) and I'm trying to understand why. At the moment, I'm only drawing simple ...
-1
votes
1answer
243 views

Tools need to for low poly model, texture making & lighting in unity3d (iOS) [closed]

I am new to unity3d, i want to create a 3d game i have a team of 3d designers and programmers. My question which software should we use for modelling, texture making and advanced lighting for mobile ...
0
votes
3answers
388 views

Parent-Child position mathematics

What is the math theory when a child object moves with the parent transform? I am doing an angle indicator which shows a field of view, which works fantastic when the angle is static. But I cannot ...
1
vote
0answers
249 views

Mesh deformation maya to unity

I have a model that has been modeled & rigged in Maya, whenever i export it as an FBX and take it into unity it seems to collapse at certain areas (see the attachments for a before and after). The ...
1
vote
0answers
169 views

Virtual World Plaforms and Unity3d

I'm moving in the direction metaverse developing. A few years back I wandered around in Second Life and found it entertaining for a New York minute. Now, I'm set to plunge into the Virtual World/MMO ...
1
vote
0answers
257 views

unity pathfinding [closed]

I have the navmesh and all set up in my unity project but as is I only know how to give it a target to go to, what I want is for it to randomly walk around my scene any help is greatly appreciated
5
votes
3answers
852 views

Started game development no idea of computer graphics. Should I learn tools or concepts? [closed]

I am in 6th semester of my Computer science bachelor degree program, Working as Intern in a start up company. I started game development using AndEngine, things are going good because I have good hold ...
8
votes
2answers
2k views

Top down space game control problem

As the title suggests I'm developing a top down space game. I'm not looking to use newtonian physics with the player controlled ship. I'm trying to achieve a control scheme somewhat similar to that ...