As of May 31, 2023, we have updated our Code of Conduct.

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.

Filter by
Sorted by
Tagged with
5 votes
3 answers
3k 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 ...
Sylario's user avatar
  • 263
4 votes
1 answer
5k views

How to create mipmap for Unity3d textures loaded with www?

When I load a texture using the code below: ...
bcsanches's user avatar
  • 480
6 votes
1 answer
6k 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?
Sylario's user avatar
  • 263
2 votes
4 answers
4k 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 ...
Sylario's user avatar
  • 263
2 votes
2 answers
867 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, ...
Alon Gubkin's user avatar
4 votes
1 answer
653 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 ...
BallzOfSteel's user avatar
3 votes
4 answers
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 ...
FreshJays's user avatar
  • 443
7 votes
4 answers
6k views

Price for Unity on Android and iPhone? [closed]

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 ...
FreshJays's user avatar
  • 443
3 votes
1 answer
503 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 ...
CheapDevotion's user avatar
4 votes
1 answer
3k 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 ...
BallzOfSteel's user avatar
2 votes
2 answers
2k 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 ...
BallzOfSteel's user avatar
3 votes
1 answer
3k 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 ...
Jeff's user avatar
  • 2,438
17 votes
3 answers
14k 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 ...
BallzOfSteel's user avatar
2 votes
3 answers
950 views

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

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 ...
ashes999's user avatar
  • 11.3k
8 votes
2 answers
10k views

shader tutorial for unity [closed]

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 ...
clamp's user avatar
  • 563
1 vote
1 answer
4k views

Restricting joystick within a radius of center

I'm using Unity3d iOs and am using the example joysticks that came with one of the packages. It works fine but the area the joystick moves in is a rectangle which is unintuitive for my type of game. I ...
Phil's user avatar
  • 898
10 votes
3 answers
15k views

Unity Android versus android SDK

I am familiar with Unity and in the process of learning android SDK when the announcement about unity android basic came out. What would be the advantages and disadvantages of using the android SDK ...
lathomas64's user avatar
  • 1,352
35 votes
9 answers
28k 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 ...
jokoon's user avatar
  • 5,243
0 votes
1 answer
194 views

Strange javascript error when using Kongregates API

In the hopes of finding a fellow unity3d developer also aiming for the Kongregate contest.. I've implemented the Kongregate API and can see that the game receives a call with my username and presents ...
Phil's user avatar
  • 898
7 votes
3 answers
9k views

Can I write plugin/extension to Unity editor?

Is there possiblity to write my own plugin/extension to Unity editor ? I want to write plugin to generate map for me from xml file.
piotrek's user avatar
  • 1,388
2 votes
1 answer
6k views

2d tank movement and turret solution

I'm making a simple top-down tank game on the ipad where the user controls the movement of the tank with the left "joystick" and the rotation of the turret with the right one. I've spent several hours ...
Phil's user avatar
  • 898
3 votes
2 answers
3k views

Weird rotation problem

I'm creating a simple tank game. No matter what I do, the turret keeps facing the target with it's side. I just can't figure out how to turn it 90 degrees in Y once so it faces it correctly. I've ...
Phil's user avatar
  • 898
65 votes
6 answers
64k views

What are the pro/cons of Unity3D as a choice to make games? [closed]

We are doing our school project with Unity3d, since they were using Shiva the previous year (which seems horrible to me), and I wanted to know your point of view for this tool. Pros: multi platform, ...
jokoon's user avatar
  • 5,243
4 votes
2 answers
5k views

[Unity] Render an animated texture to a screen

I'm looking for a way to write a typed text on a texture, and then render it on a screen: in the game it's just the screen of a computer where a scientist is typing text on. The texture will be ...
jokoon's user avatar
  • 5,243
2 votes
3 answers
1k views

Help comparing Cocos2d and Unity3d for this project [closed]

I will not go into details, but I would like to hear your opinions about this: Essentially, my project will be a 2d game, with lots of complex levels, where some might be simple and others might be a ...
Saturn's user avatar
  • 1,701
8 votes
3 answers
2k views

Flash, Java, Unity plugin install penetration?

Is there data on how many users have Flash, Java, or Unity plugins installed?
Vincent Scheib's user avatar
-1 votes
2 answers
1k views

How to create a mini-game? [closed]

I am wondering how to creat a mini-game like "Diner Dash" or like "Big Fish Games". I want my game to be 2d, but it looks like 3d: see this image. http://www.topxgames.com/bigfish/diner-dash-flo-...
Djappa Junior's user avatar
8 votes
4 answers
13k views

How do I fix this weird lighting problem?

I'm making a small game in Unity, and some models are displaying very ugly shading. The shading usually looks funky along the edges between triangles. I'm pretty new to working in 3D; I bet this is ...
Gregory Avery-Weir's user avatar
12 votes
3 answers
3k views

How should I implement units' enemy "awareness"?

I'm using Unity3d to develop a RTS/TD hybrid prototype game. What is the best approach for "awareness" between units and their enemies? Is it sane to have every unit check the distance to every enemy ...
Phil's user avatar
  • 898
2 votes
2 answers
8k views

Unity Plugin DLLNotFoundException

I am using a plugin DLL that I created in Visual C++ Express 2010 on windows 7 64 bit Ultimate Edition. The DLL functions properly on the machine that it was originally created on. The problem is ...
Dewayne's user avatar
  • 121
5 votes
3 answers
2k views

How to do pixel per pixel modeling in unity3d?

So generally I want to have api like pixels.addPixel3D(new Pixel3D(0xFF0000, 100, 100,100)); (color, position) where pixels is some abstraction on 3d sceen objet.So ...
Kabumbus's user avatar
  • 151
-3 votes
1 answer
2k views

A good Unity project to get started [closed]

What types of game should I start making to get started with Unity 3D? Any ideas? Remember: it should be small, and not art-intensive.
Ming-Tang's user avatar
  • 1,030
3 votes
1 answer
3k views

Is it possible to import UV-maps in Unity3D without manually importing the associated texture?

When i import an object from Maya with a defined UV-map i have to manually import the texture (image) and assign it to the material. Is there a way to keep the materials texture reference from Maya ...
Conny Sagnér's user avatar
2 votes
1 answer
947 views

Is there a way to keep the mesh collider when updating objects in Unity?

I have a 3D object as an imported asset in Unity which i want to make updates to in Maya. The asset get's updated automatically in Unity when i save the object in Maya - but not in the project ...
Conny Sagnér's user avatar
15 votes
3 answers
33k views

Can I do server side programming with unity? [closed]

Another thought to my last question. If i were to do a client/server game with unity3d would i be able to do serverside programming with unity? if not can i use C# .net? if not then is there some sort ...
user avatar
11 votes
2 answers
13k views

Unity on Facebook?

Hey, I know Flash works using Facebook, and I think I've seen some Java stuff on there too, but does anyone know if the Unity Player can be used in Facebook?
Jeff's user avatar
  • 2,438
16 votes
6 answers
18k views

Unity3D, how much code do you write? [closed]

I'm curious to know the workflow when creating a game in Unity3D? Does it generate a lot of code for you? My understanding is that you describe the game in Unity and do scripting on the back end to ...
Joey Green's user avatar
  • 2,499
8 votes
3 answers
5k views

Networking and movement in MMORPG's UNITY

I'm programming a dedicated server in C# using BeamServer2 DLL's. At first I wanted to be able to see other players move on our already made Omuni map. This I did by just sending your position to the ...
Diede's user avatar
  • 83
5 votes
1 answer
499 views

How can Apple know how an iOS game is made?

As you all know, Apple recently change the terms for app developers using 3rd dev tools. I'm wondering how could Apple know whether an app is made with a specific technology like Flash or Unity or ...
astk's user avatar
  • 521
4 votes
1 answer
4k views

How can I get OnMouseEnter to trigger on a 3D Text in Unity3D?

I've just started to learn Unity3D. I want to create a simple 3D menu with just two 3D Text instances. I've created and named them, then dropped this script: ...
George Profenza's user avatar
1 vote
2 answers
1k views

install unity package in to iphone?

HI All, what is the steps of to install the unity package in to iphone and create a build (app file )that my client can also able to install in his iphone . Thanks, balraj.
balraj's user avatar
  • 171
8 votes
2 answers
3k 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 ...
Phil's user avatar
  • 898
4 votes
2 answers
233 views

What is the best methodology in mounting customizables to a 3d avatar in Unity?

Someone I know suggested just making every customizable on the model then just hide the non active ones. But that doesn't sound very efficient for me. So my question is what is the best method to use ...
Wight's user avatar
  • 1,184
1 vote
1 answer
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 ...
zaratustra's user avatar
  • 1,506
5 votes
5 answers
3k views

Should larger Unity Projects use Visual Studio [closed]

I've worked with several engines and I'm most comfortable with a mature engine, world editor and C++ codebase. I'm now looking at Unity as a side-project and have mostly been working in Javascript. ...
Kimau's user avatar
  • 1,207
7 votes
2 answers
898 views

Where should the animation be done?

Let's say I want to make a character (an animal) with a stick in its mouth. I dont understand if the animation (done in Blender) should have the stick in its mouth or if it should be done in Unity/...
user avatar
-1 votes
1 answer
966 views

Start work Unity 3d [duplicate]

Possible Duplicate: Best place for learning how to write games in Unity3d Hi all, I am just a new candidate who is going to work upon the Unity 3D game engine ...
balraj's user avatar
  • 171
4 votes
1 answer
2k views

Creating a working game with Unity3D?

I recently start learning Unity3D and following VTC's video tutorials and others tutorial, so far i've found it very easy to work it and to create stuff, i havent got to the part where i need to ...
Prix's user avatar
  • 743
3 votes
2 answers
1k views

Can I make an entire game in Unity 3D for the iphone? [closed]

Can I make an entire game in Unity 3D for the iphone without using any Objective - C or Cocoa?
lampShade's user avatar
  • 367
12 votes
2 answers
9k views

How can I get voice recognition features into the Unity Game Engine? [closed]

How can I get voice recognition features into the Unity Game Engine? Is there a plug-in or a framework (hopefully freeware) that I could use? If so, do you have any ideas on how to install it? Also, ...
Dylan West's user avatar