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.

learn more… | top users | synonyms (1)

1
vote
3answers
51 views

Nothing happens when I press play in Unity3D

Hello everyone I am making my first game, things were going well but suddenly nothing happens when I press play, I have already update to the newest unity version but it persists. I have the main ...
0
votes
0answers
32 views

How can I change my angular momentum correctly using Unity3d physics?

This is an odd question to ask here, but I've almost been pulling my hair out trying to solve this. Plus its more of a mathematical/physics problem than a programming one. I'm trying to implement ...
0
votes
1answer
53 views

What is the most efficient method of creating a detailed 3d tileset in a 3d game that uses a grid? [closed]

Well, the most efficient method might be with how minecraft does the terrain by using a single block for a single grid, but one thing I am concerned about is that the method minecraft uses is poorly ...
0
votes
1answer
75 views

How do I hide UI canvas in c# Unity3d?

I want to display the final results at last in the game when gameobjects finish the winning(finish) line. For that I am using canvas and in that a panel onto which an image is attached. I have to hide ...
1
vote
0answers
37 views

How do I allow clients to move a GameObject that exists on the server?

I started to delve into the UNet system for the first time the other day and I've run into a bit of an issue while testing on a localhost server. In the scene there is a Rigidbody ball that I want ...
3
votes
3answers
58 views

Computing a full revolution for an arbitrary orbit?

I'm making a game in which the goal is to get as many planets as possible to orbit around a star. The user launches planets at any distance away from the sun (as long as it's on-screen), and in any ...
0
votes
0answers
41 views

Apply Pixel Perfect by script in Unity?

How can I apply Pixel Perfect by script in Unity? All I could find on the web is this which does help at all..
0
votes
2answers
36 views

How can I change my RangeAttribute during in my script?

I have an int which I want to be between 0 and an unknown number. This unknown number is max in the example below. I want this max number to change when another number changes in the editor. How ...
2
votes
1answer
81 views

Develop a Wii U game without official dev kit

I was looking for unity for Wii U game development. But it seems that I need the approval of Nintendo to have the software (and special hardware) (ref: https://wiiu-developers.nintendo.com). Is there ...
1
vote
1answer
58 views

Creating a Slide-Up Menu

How can I create a menu that slides up while "un-fading" as illustrated in this video? As you can see in the video, the menu also falls down a bit in the end which gives it a realistic feel. I ...
3
votes
1answer
79 views

Why is my game freezing?

Ok here is what I have done. I have made a simple test game where you move a character around. I built it and installed the app onto 2 different devices (as it will be a multiplayer game later). ...
0
votes
1answer
49 views

Creating placement grid in Unity

I'm fairly new to C# and Unity, so I don't really know much about it. I want to create an RTS like game where you have a huge grid that the whole world is placed on. Then you can place houses, walls ...
4
votes
1answer
319 views

How to make (or where to get) a half-sphere mesh that textures properly?

I'm making a game in Unity that involves lots of spheres. Said spheres will have lighting applied to them, but will also be viewed from only one camera angle. Right now, the full spheres look ...
0
votes
2answers
36 views

Recursive method causes an OutOfMemory error [duplicate]

If a GameObject in my game has a special ability it triggers it, but I want all the special GameObjects that this GameObject affects to also trigger their abilities, for example if a bomb hits some ...
0
votes
1answer
25 views

Mismatch between scene view and game view

In my scene view, it looks like the player is correctly lined up with the map. But when I see it in the game view, it's off. You can see the Game view in the top-middle, and the Scene view in the ...
1
vote
1answer
62 views

Method causes OutOfMemory error

If a GameObject in my game has a special ability it triggers it, but I want all the special GameObjects that this GameObject affects to also trigger their abilities, for example if a bomb hits some ...
0
votes
2answers
100 views

OnTriggerEnter() without rigidbody?

I know this is an old question and it has been answered for a lot of people. Unfortunately none of the solutions apply to the problem I seem to have with rigidbodies. I have a moving AI character and ...
0
votes
1answer
26 views

Objects fall off screen, because stay one behind another[unity]

I m learning unity, I placed objects on a scene, camera is looking at them and displays them fine. but in 3d, I can see they are one behind another, so when i hit play button, they just fall! Pic: ...
-1
votes
1answer
55 views

Player controller script rigidbody velocity?

I don't understand how this works. How does this code go about manipulating the player's rigidbody velocity? Can you explain it piece by piece? //Movement public float speed; public float jump; float ...
-1
votes
2answers
42 views

Publishing a Unity game to Android/iPhone

How can I publish a game that I made in Unity onto Android and iPhone? How do I generate the Android/iPhone binaries?
0
votes
1answer
141 views

How can I make my tiles fall smoothly?

I'm working on a Tile-Based game and I can't figure out how to make my tiles fall down smoothly like in candy crush. All column tiles fall-down at the same time. And spawn new like how many tile place ...
0
votes
1answer
32 views

Enlarge screen space Texture by set pixel amount

I have a texture shown over the screen using screen space UV's. The Texture is 495x,596x, Screen size is 888,500, but can change. The Texture has a Tile of (3.469775f,1.392644f) to correct for ...
0
votes
0answers
20 views

UFPS - Player Animation Setup - “Enabling animation, headlook and ragdoll handler”

Description: I am following the tutorial from the manual for UFPS for setting up the player for animations: Player Body >> Player Body Setup >> Tutorials >> Enabling animation, headlook and ragdoll ...
0
votes
0answers
19 views

How to pass a java string variable from android activity to unity3d C# script variable?

Require some help to pass custom autogenerated text from android activity to unity3d activity being started.
0
votes
1answer
50 views

Unity 5 Animation attaching

I have created the walking and idle animation for my fps player. I've added a JavaScript script to access it, but when I run it and press button(w), it stops and says that the animation is not ...
3
votes
1answer
77 views

Function, that is searching for nearest enemy Transform only works sporadically. What am I doing wrong?

so I am trying to implement a "Zelda"- or "Dark Souls"-like z-targeting system. You'll see in the code, that the function compiles a list of every enemy in the current scene. I'm still in the ...
0
votes
0answers
17 views

Conversion from .dae to XML for 3D Models in Unity BuildR

My partner and I are trying to import .dae files from Sketchup as well as 3DS Max into Unity's BuildR extension. Collada a.k.a. .dae files have an XML-based schema so we incorrectly assumed they would ...
0
votes
1answer
37 views

How can I clamp the transform to a range?

I am trying to create a level editor in Unity. When the position of an object is changed, I want that object to have its X and Y positions clamped between 1 and 10. So if the position is changed to ...
1
vote
1answer
59 views

Why transform.find() does not need actual object[unity]

I m new to unity and C#. I suspect that transform.find() function below does not need actual object reference like player.transform.find() because it transform find is already applied to the ...
0
votes
1answer
46 views

How to refresh andoid photo gallery in unity

After saving a screenshot into the folder i cannot view the screenshot in the android gallery but can see the screenshot in the folder created.Is there anyway i can see it through gallery?
3
votes
3answers
123 views

Text Based Tutorials for Unity3d [closed]

I hope this is the right place to ask this. I'm very new to Unity but not to programming. I also have some basic game programming experience. I'm searching for text based versions of the videos from ...
0
votes
1answer
111 views

How to find connected groups in a 2D grid of tiles

Firstly, my English is very bad, sorry for this. That's why I showed my problem with a picture. Block[,] sameTiles = new Block[ WorldController.Instance.World.Width, ...
16
votes
4answers
1k views

How can I make particles glow and cast light on its surroundings?

Im currently attempting to make a firefly effect on a dark forest. The level has very low light and the player is one of the few light sources. To let the player see the level better, I am attempting ...
1
vote
1answer
52 views

Flash animation or Sprite sheet animation good for Unity mobile games

I would like to develop dress-up and cooking kind of games. So it needs lots of animations. Our designers done the animations in the lash. I found the plugins callued GAF and UniSWF to convert flash ...
0
votes
0answers
54 views

Update the Android Gallery after take a screenshot from android device using unity3d

Currently we are working on "Update the Android Gallery after take a screenshot Here follows our issues: The problem is that we are having a button,when we click on the button the photo gets saved in ...
4
votes
1answer
100 views

Introduction movie running before game starts

There are many games out there that feature a movie or cut scene to feature either in-game features or to set the mood for the player. Some examples are the intro from Tony Hawk Pro Skater 4, Fifa ...
-4
votes
3answers
114 views

How do I increase the speed of an object after it spawns?

I'm trying to increase the speed of a game object based on the wave it spawns in. How would I go about doing this? public class GameController:MonoBehaviour{ public GameObject hazard; ...
3
votes
1answer
40 views

How can I have a value increase by multiples of 10 in the inspector?

I have a number that I want to be editable in the inspector. However, I want to restrict that number to be a multiple of 10. I can always just go into the code and set it to the nearest multiple of ...
1
vote
0answers
23 views

Create prefab asset from object without creating object in the scene

I am writing an editor tool that is supposed to generate prefab objects from a parsed TMX file. Since this is a special case because I don't want to instantiate objects, but rather create them there ...
0
votes
1answer
72 views

Best way to interpolate player movements in a very fast paced Unity game?

In my Unity online multiplayer game players move very fast and I currently use Lerp to interpolate between their last position and current position: transform.position = ...
0
votes
1answer
34 views

Why is my counter not incrementing when OnTriggerEnter is called?

I have a script that handles the destruction of game objects based on what they collide with. I am trying to count the number of objects destroyed when they collide with specific objects. However, ...
1
vote
1answer
30 views

Is there any other way to animate 2d spritesheet without Animator Component in unity?

Is there any easy way exists that animates frames without using Animator component?
0
votes
1answer
41 views

How to find a material through a raycast in Unity 5?

I have an empty object with a script on it and I want to be able to move the empty over other objects and then have it print out the name of the material for the triangle that it's hovering above. ...
0
votes
1answer
57 views

Unity - How to correctly sync an ArrayList of GameObjects on a server/client

I'm experimenting with networking in Unity and I can't seem to get an ArrayList of GameObjects to sync from the server to the client. Here is the relevant code: [SyncVar] ArrayList walls = new ...
1
vote
3answers
203 views

Can't parent the standard FPSController during gameplay

I'm parenting the standard assets FPS controller during play with a simple script. The controller get's parented but also instantly inherits the rotation of the parent. This doesn't happen in Editor ...
0
votes
0answers
44 views

Visual Studio 2015 Unity Tools intellisense error

I just downloaded Unity 5. I use Visual Studio Community 2015 to edit the code. When i edit JavaScript files in VS it shows some of the Unity code as errors (for an example the #pragma strict). Also ...
0
votes
3answers
59 views

Math.Clamp won't limit my position until movement is ceased

The program is in a top down view, with Y going up (or forward depending upon how you see it), and X going from left to right based on the camera view. I am attempting to set the minimum and maximum ...
0
votes
1answer
59 views

Make Camera Bounds

I'm new here and I have a question. (Help me Google Translate). At first I make camera from this video. First video First script (CameraController) using UnityEngine; using System.Collections; ...
0
votes
0answers
12 views

Photon Connections without Concurrent Users? Or other networking?

I am going to be making a multiplayer game and use http://pupnp.sourceforge.net/ for setting up connections without having the player to port forward. The game will let you make or join a room using ...
0
votes
6answers
220 views

How to stop jumping again when character is in air (double jump)?

I'm using touch inputs in my game to control the character. I would like to know how to disable my character from jumping again in the air. if (FingerTouchy.phase == TouchPhase.Ended) ...