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
2 votes
2 answers
6k views

Creating natural environments that can run on lower end computers in Unity3D/C#

So, I'm starting work on a project soon that will require me to create realistic environments that can preferably run on PC's besides high quality ones. The goal is to get as real an environment as ...
Timothy Williams's user avatar
4 votes
1 answer
5k views

Starting a Java activity in Unity3d Android

I wrote a small Java activity extension of UnityPlayerActivity similar to what is described in the Unity docs. It has a method for displaying a song picking interface using an ACTION_GET_CONTENT ...
Matthew Pavlinsky's user avatar
5 votes
1 answer
6k views

How to create a 3D world with 2D sprites similar to Ragnorak online?

As far as I know Ragnorak Online is a 3D game world with 2D sprites overlayed. I would like to use this style in a game I am making in Unity, so I would like the player to be able to select little ...
Dustin Kingen's user avatar
0 votes
4 answers
5k views

Parent variable inheritance methods Unity3D/C#

I'm creating a system where there is a base "Hero" class and each hero inherits from that with their own stats and abilities. What I'm wondering is, how could I call a variable from one of the child ...
Timothy Williams's user avatar
9 votes
2 answers
19k views

How do I make my character slide down high-angled slopes?

I am currently working on my character's movement in Unity3D. I managed to make him move relatively to the mouse cursor. I set a slope limit of 45°, which does not allow the character to walk up the ...
keinabel's user avatar
  • 191
-2 votes
2 answers
3k views

Unity 3D vs openGL [closed]

i'm interrested in starting to learn abit about graphics programming through game development and i'm wondering what the pros/cons are when using Unity 3D over using something like C++ & openGL
Alexander's user avatar
15 votes
2 answers
7k views

How should I account for the GC when building games with Unity?

*As far as I know, Unity3D for iOS is based on the Mono runtime and Mono has only generational mark & sweep GC. This GC system can't avoid GC time which stops game system. Instance pooling can ...
Eonil's user avatar
  • 949
2 votes
2 answers
1k views

Unity: Is there a way to edit a Skin file?

My project has multiple skins and sometimes we have to deal with skins with many custom styles. Editing them in the editor is difficult, for instance, I cannot delete one style that is not the last ...
Roberto's user avatar
  • 750
4 votes
1 answer
2k views

Unity3D GUI - what exactly it does when create controls and check their statuses?

On unity3d website in the manual on this page: http://unity3d.com/support/documentation/Components/gui-Controls.html I found an example of "GUI.changed" function usage(below). And it looks like it ...
st0ne_c0ld's user avatar
2 votes
4 answers
7k views

How to make something rotate a certain amount over an exact amount of time

I'm trying to make a plane rotate down a certain amount and 180 degrees horizontally over 2 seconds. Basically I want it to take the plane 1 second to rotate to a horizontal-facing angle, then take ...
Timothy Williams's user avatar
2 votes
1 answer
3k views

Game 30% done on HTML5. Maybe it was a bad idea. Should I change to Unity3d? [closed]

I'm creating a 3d game on HTML5. It's 30% complete and the hard part is already coded. The server is on node.js.Now I'm realizing that maybe it was not a wise choice. This is because I realized: ...
MaiaVictor's user avatar
  • 1,180
2 votes
1 answer
738 views

2d game with png sequences slowing on Unity3d

We are building a tower defence game,In which enemy movement is done through sprite sheets as well the tower rotation is also done through sprites...every tower and every enemy has its own script ...
haider1515's user avatar
6 votes
3 answers
8k views

Can I make a mirror with Unity Free?

If I understand correctly, render textures are a feature of Unity Pro, and that is the best way to create mirrors, TV screens, and so forth. If I am wrong, please tell me. What I would like to know is ...
tyjkenn's user avatar
  • 2,576
5 votes
1 answer
3k views

(Why) Should I choose Unity 3 or Cocos2d (or something third) for my app? [closed]

My colleague and me made an HTML 5 iPad game ( http://braille.gandzo.com/ ) and we would like to upgrade it, and our framweork is not enoguh, for what we want. Some of the things we would change are: ...
Andrija's user avatar
  • 173
5 votes
3 answers
8k views

Are there game engines like Unity but for 2D? [closed]

I really like the convenience of unity3d. The ability to edit the level and see my results in real time are great. My problem is the idea I want to implement is 2d and uses 2d sprites. Scaling ...
user700508's user avatar
2 votes
1 answer
11k views

Collision intepenetration and objects getting stuck (Unity)

I am having what is probably a newbie problem with Unity, but for the life of me, I can't find a decent solution to it. In short: my rigid bodies collide, but sometimes, they interpenetrate and stay ...
ADB's user avatar
  • 950
5 votes
1 answer
364 views

Can a 3g network work for this project and is my understanding correct?

I want to make a game for the android phone using unity. As you can tell by my last post i wanted to use networking to make this happen. I decided unity would be a good choice and in no time i was ...
user700508's user avatar
1 vote
1 answer
12k views

Looking at the mouse position in a top down Unity game?

I'm trying to make a simple top down game where the player looks at wherever the mouse is pointed. The player is only going to rotate on the Y axis. Here's what I have so far but I can't seem to get ...
Dusty's user avatar
  • 167
3 votes
1 answer
4k views

Importing World of Warcraft models into Unity

I'm following some tutorials to create a simple game with Unity in order to learn, and I would like to enhance my learning experience by adding World of Warcraft models. Don't worry, this is all just ...
Dvir's user avatar
  • 137
3 votes
5 answers
1k views

C#/XNA multiplayer TCG game inside a browser possibe?

I wish to try and create a TCG using C#/XNA that would run inside a web browser. Some of the main game's features would be: At least 2.5D to imitate the card flipping/shuffling and etc. effects ...
Pepin's user avatar
  • 31
6 votes
2 answers
14k views

Is it possible to export a simulation (animation) from Blender to Unity?

I created an explosion animation within Blender, something as shown in this video. To achieve this I used a particle-system, together with the "Explode" modifier. This kind of animation (simulation) ...
bummzack's user avatar
  • 22.6k
2 votes
1 answer
909 views

Trouble with UV Mapping Blender => Unity 3

For some reason I am getting nasty grey edges around the edges of rendered 3D models that are not present in Blender. I seem to be able to solve the problem by reducing the size of the UV coordinates ...
Lea Hayes's user avatar
  • 283
1 vote
1 answer
348 views

Stuck at enemy movement

I am making a TD game in unity, Initially I made all of my enemy movements frame rate dependent say: I had a grid point1 at -22.65 and other at -21.1, diagrammatically: (-22.65) _________(-21.1)...
Syed 's user avatar
  • 959
3 votes
1 answer
4k views

How to control a spaceship near a planet in Unity3D?

Right now I have spaceship orbiting a small planet. I'm trying to make an effective control system for that spaceship, but it always end up spinning out of control. After spinning the ship to change ...
tyjkenn's user avatar
  • 2,576
0 votes
1 answer
2k views

Animations in FBX exported from Maya are anchored in the wrong place

We are trying to export a model and animation from Maya into Unity3d. In Maya, the model is anchored (pivot point) at the feet (and the body moves up and down). However after we have performed the ...
Simon P Stevens's user avatar
0 votes
2 answers
3k views

GUI.Button inside GUI.Window not responding

I am trying to do some GUI work with unity but am having some issues. I call a window with this code: ...
lathomas64's user avatar
  • 1,352
6 votes
1 answer
2k views

Things to do to port game made for iOS in Unity to Android?

I have just made my first game for iOS and submitted it to app store. I was thinking of porting my game to Android also. I would like to know things one need to do/remember to port game made for iOS ...
2600th's user avatar
  • 991
2 votes
2 answers
12k views

How can I change the splash screen for a standalone game in Unity3D?

I want to change the normal Unity splash screen to be customized for my game and every time I change the splash image in the player setting it does not appear. So how can I do that please?
Amira Elsayed Ismail's user avatar
2 votes
5 answers
18k views

Which is better for a beginner, UDK or Unity? [closed]

I am just getting into game development and I would like to know which engine would be best to learn first. In terms of my current skills, I know a good deal of javascript, but not much beyond that. ...
rshea0's user avatar
  • 332
11 votes
5 answers
26k views

2D character controller in unity (trying to get old-school platformers back)

This days I'm trying to create a 2D character controller with unity (using phisics). I'm fairly new to physic engines and it is really hard to get the control feel I'm looking for. I would be really ...
Notbad's user avatar
  • 1,075
4 votes
2 answers
3k views

Effects of collisons: broken glass, damaged cars, how are they created?

My question is related in particular to achieving the effects of collision in game engine, how is this done? I have searched a bit, read from the internet and went through a few tutorials, and saw ...
SpeedBirdNine's user avatar
2 votes
1 answer
2k views

Unity3D animation and world collisions?

I'm using death animation for my enemies but the problem is that when enemy dies he crosses the walls/world. I want enemy/animation to be pushed back into world when he dies (animation is playing). ...
2600th's user avatar
  • 991
8 votes
5 answers
11k views

What is the logic behind the 'Loading' scenes in games?

I'm making my first game, it's a tower defense type of game, using Unity game engine and taking Fieldrunners as a reference. I would like to know more about the functionality behind 'Loading' scenes ...
Syed 's user avatar
  • 959
0 votes
3 answers
6k views

2D games on Unity and collision detection performance

I'm developing a 2D game for the iOS platform. I have seen a lot of packages on asset store that makes 2D asset creation for unity easier. I have narrowed my selection to just 2, 2d toolkit and ex2d. ...
Notbad's user avatar
  • 1,075
1 vote
2 answers
14k views

How to make a Realtime 3D Eulerian Fluid Simulation like "From Dust" in C#/Unity3D?

So, for a game project I'm going to be working on I need to make a fully working 3D fluid simulator in Unity3D using C#, that can work in real time. The only problem is, I've never done anything like ...
Timothy Williams's user avatar
-1 votes
3 answers
613 views

How to create solid human characters in MAYA, so that their hands do not cut into bodies while signaling hand sign?

How to create solid human characters in MAYA, so that their hands do not cut into bodies while signaling hand signs? Or can I make the characters solid in Unity? I create animations in MAYA and import ...
May's user avatar
  • 1
3 votes
3 answers
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 ...
Michael Taufen's user avatar
27 votes
4 answers
30k views

How do you save game state?

What is the procedure followed by game programmers for saving and resuming game state? like files/mappings. I want to save it for tower defense game and I am using unity3D game engine.
Syed 's user avatar
  • 959
1 vote
1 answer
185 views

Is it normal to these Xcode prompts/errors when you deploy to IOS Simulator from Unity?

Just trying out the IOS build process.... Is it normal to see: Q1 - "upgrade to latest project format - project currently in Xcode 3.1 format, this will upgrade to 3.2" - just click OK and let Xcode ...
Greg's user avatar
  • 219
16 votes
3 answers
9k views

How can I implement a "fast-forward" feature in my game?

How can I implement the fast forward feature for my tower defense game like in http://fieldrunners.com/ and other TD games? I am using Unity 3D. Would there be something to manage fewer frames per ...
Syed 's user avatar
  • 959
3 votes
0 answers
3k views

How can teams collaborate on Unity 3D projects? [duplicate]

With a friend of mine, we are planning to develop a small game to get the hang of game development and teamwork. But since Unity 3D barely supports version control (or at least the free version lacks ...
nosferat's user avatar
  • 812
2 votes
1 answer
3k views

How can I create my mesh so that textures applied to it are NOT rotated 90 degrees in Unity 3D?

I'm trying a really simple test in Unity 3D. I want to render a texture on the simplest plane possible. So, I've created a two-triangle plane in Blender, then imported it into Unity. From there, I ...
Jim's user avatar
  • 261
3 votes
1 answer
10k views

cocos3d versus Unity for simple IOS 3D games?

Wondering if anyone here happens to have experience in doing some simple 3D based games/apps for IOS, using cocos3d & Unity and could give some pointers....questions I have are: GENERAL 1) It ...
Greg's user avatar
  • 219
2 votes
3 answers
5k views

How can I specify which enemies to spawn for each round in a tower defense?

I am making a TD game in Unity, and I would like to know the most common approach to spawning enemies each round. I have more than 200 rounds per map, just like Fieldrunners. Is it some kind of ...
Syed 's user avatar
  • 959
4 votes
4 answers
9k views

what is the simplest 3d software for unity? [closed]

Ive heard a lot about Daz studio, Poser, Maya, K-3d, Anim8or, Blender, and all the rest. My question is which one is the best choice in terms of simplicity and quality. price is not an issue really. ...
kdavis8's user avatar
  • 395
4 votes
2 answers
5k views

What is the standard procedure for importing animations in Unity?

I need some info about importing game objects from Maya to Unity. I am making 2D Tower Defense game, I have made some basic functionality using dummy objects (cubes and spheres). Now I want to replace ...
Syed 's user avatar
  • 959
1 vote
2 answers
11k views

Unity GUITexture or GUIText not showing up

Currently I've got a little 2.5D platformer with the camera tracking the player. Now when I go to insert a GUITexture or GUIText game object into the scene, it comes up absolutely fine in the Editor ...
Ray Dey's user avatar
  • 6,936
2 votes
4 answers
2k views

How can a single script attached to multiple enemies provide separate behavior for each enemy?

I am making a TD game and now stucked at multiple enemies using same script. All is well with scripts attached with one enemy only. Problem is in running multiple enemies. Here is the overview. I ...
Syed 's user avatar
  • 959
1 vote
1 answer
2k views

How can we view 3d objects from top down view in TD game

I am making a tower defense game. I am working in x and y axis only. I have made a grid, snapped towers and made a pathfinding algo to run enemy. Initially I have worked with cubes and spheres in ...
Syed 's user avatar
  • 959
2 votes
1 answer
8k views

How do I get light to go through a window texture in Unity?

I'm having trouble with the lighting (I have windows and the light wont go through). How do I get the light to proceed through the glass?
Developer_Aaron's user avatar