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
4answers
1k views

Algo for rotating tower towards enemy - Unity

I have made a grid and placed towers and moving a enemy on it. Now i want to rotate towers face towards enemy when enemy comes in the range of tower. I have a solution that whenever enemy comes to ...
18
votes
6answers
15k views

What is the most serious limitation of Unity? [closed]

Having read this heated question about Unity vs. UDK vs. ID something, I'm curious to know: what the repeatedly-hit, most crippling limitation(s) of Unity? In order to keep this question ...
5
votes
2answers
8k views

Does Unity for PC use Direct3D or OpenGL?

I am a mac developer using Unity and I hardly use a PC. When you build a Unity game for Windows, does it use Direct3D or OpenGL? P.S. I'm not sure if it's called Direct3D or DirectX
1
vote
2answers
2k views

How can I program on the GPU in Unity?

In my previous question, I asked about why people don't program on the GPU. Now I am learning about fluid dynamics with this article. They say that it should all be done on the GPU. The game engine ...
0
votes
1answer
891 views

How to drag my dragging object in 'game'-unity?

I have made a dragging sphere which drags, problem is how can I drag it using keyboard keys , I dont want to build it again on iphone simulator after experimenting with my code. for dragging it is not ...
0
votes
1answer
163 views

Meshes crashed memory from CharacterCustomization example

I am trying the CharacterCustomization example from Unity3D which contains two scenes: Dressing room and VirtualWorld, run the VirtualWorld on iPhone, it could run but at last it will crashed, ...
3
votes
2answers
1k views

How can I make grid tiles/plane transparent

I have made a grid using multiple planes. Now I want to place a image on this grid so that user cant see the grid I have made and I ll have access of all points of the image using grid. The problem ...
-3
votes
2answers
3k views

Unity: 2D problem (I'm using Orthello package but any advice appreciated)

So instead of dishing out 150$ for SpriteManager 2 (Unity Package), I've been playing around with Orthello which a free SpriteManager package. I got most of everything I'd like working and it was ...
2
votes
1answer
9k views

What is grid in Unity and how can I implement it?

I'm a beginner. I need to place a grid on my map in Unity and would like to access it to place a simple object on mouse click. How can I achieve this ? I am unable to understand the grid ...
3
votes
3answers
4k views

Can an iOS application have an explicit quit button?

I've heard a rumor that you cannot have an explicit quit button on your app when it goes to the Apple App Store, can anyone verify this? It seems that most applications do not have one, and there is ...
2
votes
1answer
1k views

2D physics performance on iPhone/Android using Unity 3D?

I've been looking into making 2D games with Unity. One thing which concerns me is the performance of the physics engine. Since Unity is a 3D game engine I'm going to have to assume it uses a 3D ...
3
votes
2answers
2k views

Raycasting in Unity3D?

I have a game object on screen represented by a cube (but say it was a quad or something else all the same). How do I raycast to check intersections? Keeping in mind I may not be raycasting fora ...
2
votes
2answers
249 views

Why unity crashes when using shell32 in unity3d?

I'm using shell 32 to get some file descriptions. It works perfect in Visual Studio 2010, but when it comes inside unity3d it crashes. The code is: using Shell32; ShellClass shell = new ...
0
votes
1answer
824 views

How to find which side of a collider has been hit from hit.normal?

In Unity3d, i can get the normal of the surface with which the collider collides using hit.normal, but is there a way to find which side has been hit what is provided bu Unity3d? One solution is to ...
5
votes
1answer
3k views

How can I set up a Pong-style game using the physics system in Unity?

I've just been using Unity and chose to learn it by making a Pong game which sounded simple enough as a "hello world" type of game. My goal was to try and encompass enough of the built in engine ...
-1
votes
1answer
239 views

Best cross-platform solution for building 3D toolsets?

I am looking to develop an in-browser game in Unity3D, but I would like to write my builder tools for my project on a more powerful platform. The assets I am building for the game are not traditional ...
-1
votes
2answers
2k views

Which one is better for a beginner to start with game development - unity3d or cryengine 3? [closed]

I am beginner in game development and want to work with either unity or cryengine because they have thier own player and we can play on web also with the player installed. I am confused with which to ...
4
votes
1answer
351 views

Porting games made for PC to console in UDK/Unity3d

I am now trying to learn game development in UDK and Unity3d, just trying both out, and try to get an idea how they work, and for now im mostly focusing on the PC games.. I want to know, how ...
3
votes
1answer
821 views

How'd they do it: TF2 payload cart glow?

How did the creators of TF2 make the glow on the payload cart visible through walls? Is it possible to implement this in Unity's shaderlab?
4
votes
3answers
1k views

OSX 2D game engine

Are there any other OSX game engines out there similar to Torque from Garage Games? I looked into Torque awhile back but the current version 2D version hasn't been updated in a long time and there are ...
0
votes
1answer
667 views

Other procedural material generators for Unity?

In the new version of Unity 3.4, unity announced that they would now support procedural materials (which is awesome, by the way). While I was researching it, I found this in the manual: ...
13
votes
2answers
11k views

How can I make huge terrains in Unity?

How can I make extremely huge terrains in Unity? It seems like I can set width and length to large values. But the Heightmap resolution only goes up to 4097 and the Detail resolution only goes up to ...
1
vote
2answers
4k views

Find all Game Objects with an Input string name (not Tag)

I'm trying to mimic FindGameObjectsWithTag with FindGameObjectswithName. I know using tags is faster, but I'm trying create a way to search for objects I spawn with a child object I name on ...
1
vote
1answer
456 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 ...
1
vote
1answer
885 views

Locomotion-system with irregular IK

Im having some trouble with locomtions (Unity3D asset) IK feet placement. I wouldn't call it "very bad", but it definitely isn't as smooth as the Locomotion System Examples. The strangest behavior ...
9
votes
2answers
4k views

Video playback in Unity

I'm not satisfied with the quality of video playback in Unity (Movie texture which I run after converting video with Miro converter and importing it to Unity),... so, is there any chance that there is ...
6
votes
3answers
3k views

Left-Hand and Right-Hand Coordinate Systems

In Blender and other 3D modeling tools, the coordinate system is right-handed, while in Unity 3D and Orbiter Space Flight Simulator, they are left-handed, why this could happen? Why they don't simply ...
9
votes
1answer
2k views

Prototype experience: Unity3D vs UDK

Has anyone yet prototyped a game in both Unity3D and UDK? If so, which features made prototyping the game easier or more difficult in each toolkit? Was one prototype demonstrably better than the ...
-6
votes
1answer
1k views

What are reasons for Unity3D's owners to force rich guys buying Pro version?

Well, I have to say that Unity is a really nice thing that can save one a dozen of hours on coding (letting instantly work on gameplay). But what's the idea of forcing (EULA) any party, which made ...
2
votes
3answers
3k views

Unity, changing gravity game & stopping character when he hit a wall

i am currently working on a 2d puzzle game in the unity engine. One of the aspect of this game is the possibility to rotate the level of 90°. It also rotate the gravity. The main character is not ...
1
vote
1answer
743 views

Should I use animated objects or use the physics engine on iOS scenes with lots of rigidbodies?

I have a scene with lots of houses and other objects. These objects will be bombarded from the sky. How to handle these kind of settings having in mind that you want the physics to be as realistic as ...
5
votes
2answers
3k views

What is your Unity 3D physics engine budget for iOS games? [closed]

I'm testing Unity for a game that I'm building, and I've touched its limit. My test scenario: a wanna-be house with 200 elements (cubes rescaled) no textures, box colliders and rigid bodies for each ...
1
vote
3answers
2k views

Should I package and sell my game on the unity3d asset store?

I'm trying to figure out if I should refurbish and refactor a game I and some friends have made. It's released on kongregate and wasn't a super hit but I feel there's a lot of interesting techniques ...
2
votes
1answer
2k views

in Unity3d, how to automatically create fixed joints in a wall of cubes?

I want to create a wall: width 6 cubes height 7 cubes therefore I have 22 cubes on the margins and 20 cubes inside. For each of the margins cubes(except the corners) I have to set 3 fixed joints, ...
7
votes
2answers
1k views

Is Unity3D (free) sufficient to publish to the Mac App Store?

Is Unity3 (free) + dev account sufficient to get an app on the MAC app store? Or, do I require the pro version?
5
votes
3answers
1k views

Make my NPC “see” gameobjects around him in Unity

I have a walking NPC that will "see" the wall in front or behind him (2d gameplay) and that will react accordingly. I was thinking to attach him to an invisible collider that would react to objects ...
3
votes
1answer
2k views

How to create mipmap for Unity3d textures loaded with www?

When I load a texture using the code below: WWW www = new WWW(textureName); yield return www; renderer.material = new Material(Shader.Find("Diffuse")); Texture tex = www.texture; ...
2
votes
1answer
3k views

Selecting all GameObjects in Unity

I want to rotate all my GameObjects by 90 degrees. To do that I need to select all my GameObjects, how can I do so?
1
vote
4answers
2k views

Have a simple enemy detecting he touch a wall to make him stop/turn around

I am doing a very simple scene with a cube sliding on the "ground". Once the cube reach a wall, he is blocked. I want to detect the wall to make the cube go in the other direction. I used ...
2
votes
2answers
761 views

Choosing an engine for a new game [closed]

Right now, I'm planning a new FPS single-player Half-Life 2/Call of Duty: Black Ops/Crysis 2-like, and I'm trying to determine what game engine should I use. Right now, my team is me, as a programmer, ...
4
votes
1answer
629 views

Unity Deactivating a gameObject

I'm trying to deactivate an GameObject when a certain variable reaches a certain value. It is an imported FBX and doesnt have a MeshRenderer. I'm trying to stop it now with ...
3
votes
4answers
3k views

Unity or MonoTouch with XNATouch/MonoGame? same price

After figuring out the pricing of monoTouch and Unity, I've found that the pricing will be the same ($800). With XnaTouch/MonoGame for monoTouch I am able to port my games to droid/apple. I am just ...
3
votes
3answers
4k views

Price for Unity on Android and iPhone?

I was looking at the Unity site, and I was a bit confused with the pricing. It says it's free, but for iOS/iOS Pro or Android/Android Pro. I need to shell out $400 minimum each. So if I want to ...
3
votes
1answer
387 views

How do I find the largest circle possible in a square of pixels using Unity?

As I am using Unity, I can easily grab a square of pixels of any length. However, I want to find the largest circle possible within that square of pixels. So for instance, if I had a 40 x 40 square ...
4
votes
1answer
2k views

Unity MouseWheel weapon change

I am trying to make a simple weapon change in Unity3D. The best way to do this is with the mouse scroll wheel, as far as I can see. I googled on how to do this and found that I have to use ...
2
votes
2answers
1k views

How can I get my first-person character in Unity to move to a ledge with an animation?

I'm trying to get this to happen: The character walks up to a large crate, the player presses a button, and an animation starts playing where the character climbs up on to the crate. (all in first ...
3
votes
1answer
2k views

Unity3d or WebGL: Where should I go?

I am interested in making a simple 3D game this summer, and I'd prefer if it were playable in a browser. My choices I am considering are Unity and WebGL. Currently I have no experience in either. But ...
12
votes
4answers
5k views

Ledge grab and climb in Unity3D

I just started on a new project. In this project one of the main gameplay mechanics is that you can grab a ledge on certain points in a level and hang on to it. Now my question, since I've been ...
3
votes
3answers
682 views

Simple Game Feasibility: Unity + Turbo Squid + $0 =?

I've been coding 2D games exclusively for a while, partly because I have very limited graphics skills, partly because it takes less effort to make something look great, and partly because I have very ...
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 ...