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)

-4
votes
1answer
33 views

What you think about Digital-Tutors? [closed]

I want to ask if there is any one try Digital-Tutors site as content i see it's very good but i want to make sure before i rush into it .
0
votes
0answers
12 views

Unity - Decrease/Increase the “Z axis” angle axis on Update()

What is the best way to Decrease/Increase an angle without using "eulerAngles"? I need turn my transform between 30 and 325, according to my "Y axis". If it is less than zero we reduce the value of ...
-1
votes
1answer
21 views

Unity not showing full text

This is simple issue, I'm trying to put in text, but it keeps cutting off, I found nothing in it's settings for text limited
0
votes
1answer
37 views

Game maker or unity for 2d games [closed]

I'm new to game dev but I know how to code. I would like to try my hand at making a 2d game. I am overwhelmed by the ear between unity and game maker. Which one would be better to use. I thought unity ...
0
votes
2answers
43 views

How to load scene after a set delay?

I have tried using IEnumerator and Invoke("method",delay_in_seconds). My first scene is just an image with my studio name on it. I have script that will load the next scene ("Main Menu") 3 seconds ...
4
votes
3answers
152 views

How to create custom 3D “areas” at runtime

I've been puzzled for a few days trying to solve this problem, so far with no results. On a map, currently a Terrain, I'd need to have some "areas" which can be controlled by a specific players. The ...
0
votes
1answer
4 views

Animation package from Assert Store not working probably with Unity Model/Custom Model?

I downloaded the animation pack from here: https://www.assetstore.unity3d.com/en/#!/content/25794 The assert contains a fbx file, which contains a bunch of animations. Then in Animator window I added ...
0
votes
2answers
39 views

How to access Collider in c# script with its tag name

I want to access a Collider in c# script file with its tag name I Tried this if (Collider2D == Physics2D.OverlapPoint(touchPos)) { Some Code to be Performed } I want to access this Collider2D ...
0
votes
1answer
76 views

Need help with Physics

I'm using Unity to develop a game. Basically i want the player/rocket to follow a point on the screen where user touches. But It's based on physics. Force must be added when user touches somewhere and ...
0
votes
3answers
39 views

Calling and functions/methods from different Classes in Unity

I am learning some of the basics with Unity and am running into calling/sending code to a different script. For example, the code below is a basic menu of options. I have a different Scene set up in ...
-1
votes
1answer
37 views

Get current position of instantiated prefab

I wrote two little scripts to manage platform spawning. 1st - is attached to the Spawner gameObject. It's uset to spawn new platform. 2nd - is something like Platform Manager which not extend ...
0
votes
1answer
41 views

Random movement of game Object staying in a circle

I want to write a script which makes several objects move in a random direction but within a range around another game object. If the parent object moves then that range should also be changed ...
0
votes
2answers
42 views

Shooting at mouse in unity

I'm using unity and trying to get my bullet to shoot at a target. I am clicking the mouse and I'm wanting to fire my bullet in that direction. I have gotten the coordinates of the mouse click and ...
0
votes
0answers
36 views

Visual Studio solution not compatible with Visual Studio 2015 [closed]

I created a game for Windows Phone 8 using Unity 5.1 and builded the project. To test on the emulator I opened the solution file in the build with Visual Studio 2015 and a message appears saying that ...
0
votes
0answers
51 views

Unity3D - Unable to attach script to GameObject prefab at runtime

I've got a script that manages a scene browser within my application where I'm hoping to generate a new button instance for each scene found. I've put together a button that I've made into a prefab ...
1
vote
2answers
21 views

Animator.SetBool: am I supposed to call it only when its value changes?

I've searched around the web for a while, but didn't manage to find anything about it. Despite using Animator in several projects so far, I've never been in this exact situation, so I'm unsure what ...
-1
votes
2answers
53 views

How to enable and disable scripts on a Game Object?

This worked briefly yesterday, I believe I did something to mess this up. All my inputs that I put in are correct; therefor, it must be the code. I want to switch players. While the red cube's script ...
0
votes
0answers
27 views

“Your android setup is not correct” error on Unity showing up even after reinstalling OpenSSL (Using Facebook SDK)

I want to build for Android and today one error popped up after building. Your Android setup is not correct. See Settings in Facebook menu. UnityEditor.HostView:OnGUI() Important things about ...
-2
votes
1answer
24 views

showing Load 'name' (-1) couldn't be loaded because it has not been added to the built settings even after adding it

I have created 3 scenes (StartMenu, Game, Win) and added all of them to built setting with proper arrangement. StartMenu Scene has a button start which should take game to second Game Scene when ...
1
vote
0answers
8 views

Amazon IAP V1 not working on unity

I've been following the tutorial for amazon iap v1 (because it seems a lot easier than amazon iap v2) but when I built the android app and went onto the shop screen the app just force closed. Here's ...
0
votes
0answers
41 views

FPS : Hands+Weapon Animation

I want to create multiplayer first person shooter . Now I want to create animation where the soldier is walking with rifle . I have separated hands from the body of the model and I have dropped ...
0
votes
1answer
50 views

Change sprite to animation in unity 5 2d (c#)

I want to do the same as this older post with one change: Change the sprite of a Object in Unity I want to use a .anim animation (created with unity) after the space key is pressed instead of ...
2
votes
0answers
51 views

Moving a character based on a list of Vector 3's

I have a client server scenario. On the server there is an AI character who chooses a random point on the map and pathfinds to it, when at that point it chooses a new point and pathfinds again etc. ...
0
votes
0answers
32 views

Unity: object with strange transparent color?

In my game the players left arm is this weird transparent color, but the right is normal. When i drag the right arm's material over to the left it doesn't fix the problem, so there's something wrong ...
0
votes
0answers
22 views

How can a text asset be added to an asset bundle using C#?

As far as I can tell assets can only be assigned an asset bundle through the editor. Is there anyway to assign an asset an particular asset bundle in C#? Specifically a text assets? I'm trying to ...
0
votes
0answers
16 views

Problem with cameracliping unity

Hello GameDev Community, i've got a small problem with figuring out a way to do cameracliping in the unityengine with raycasting i got two main problems the first being that my camera flicks ...
0
votes
0answers
36 views

Developing a tilebased structure within Unity [closed]

I am developing an isometric tile game, which will contain the floor, up to one object, and up to 4 walls. I need to be able to select which decoration/texture on each individual wall. I of course ...
0
votes
0answers
38 views

Facebook integration issues

I have a "weird" problem with integrating Facebook in my game. The problem is that i can not see the scores of all my fb friends. (I have a high score panel where i visualize my fb friends best ...
-1
votes
1answer
28 views

Does Transform.childCount not work correctly?

This is my code: void OnTriggerEnter(Collider collide) { if (collide.gameObject.transform.tag == "Laser") { Debug.Log ("Inside If"); Transform resourceTransform = collide.transform; ...
1
vote
1answer
61 views

Developing an iOS/Android game with the free Unity license - feasible?

I recall, when I looked up the Unity license comparison page several months ago, seeing that some iOS/Android features were disabled for the Free license. However I can't seem to find that page now, ...
0
votes
0answers
30 views

Why are my smooth curved meshes bumpy?

Reference .gif of what I'm experiencing I've been trying to create smooth surfaces for my game in Blender, mostly curved ramps. However, for some reason I can't get the ball to roll smoothly along ...
0
votes
0answers
15 views

Finding vectors to create an inner border for a mesh

I'm looking to create an inner border for generated polygons, which function as provinces in my game. As an example: I have the outer black vectors, that I use to generate the mesh for the ...
2
votes
3answers
161 views

How do I make an endless road in Unity?

Basically I created 2 quads side by side and I added a road texture. I used transform.translate so that the road moves, but I am trying to make the road endless by making the 2 quads reposition ...
0
votes
0answers
77 views

Why do 100 rect contain 400 tris?

I am making a game targeted towards mobile, so I am experimenting around to know how I can boost performance. Now I have a rectangle with a road texture on it. This I made in Blender. And as expected ...
1
vote
0answers
72 views

Creating lightning effect with glow effect

I am trying to recreate Drilian's lightning bolt in unity and I have faced a problem in the "Adding Some Glow" part. I am missing glow effect (and/ or "rounded beams"). Here is what I am doing: I ...
1
vote
1answer
37 views

Cardboard on iPhone 5 doesn't render on stereo

Has anyone ran into this? I'm on Unity 5.1.1p3, Cardboard Unity Integration v0.5 (5/28/2015) and an iPhone 5 running iOS 8.3 (12F70). I made a game that uses Cardboard and on an iPhone 6 the ...
0
votes
2answers
31 views

How can I easily assign an array in the inspector?

If you make a public array class member in Unity, you can individually assign objects to the array in the inspector menu. It looks like this: However, this is cumbersome if you you want to assign ...
0
votes
1answer
34 views

unity3d - how to do pixel perfect movement with

How would you be able to move sprites move pixel by pixel in unity3d? I've tried the following things. I tried: int x = (int) transform.position.x; I tried: int x = ...
1
vote
2answers
80 views

Unity NGUI Arial Label looks different in iOS after updating Unity to 5.1.1

I am using NGUI and I have a UILabel. It uses Unity dynamic font Arial. Bold. No effects. This is how it looks in the Unity editor: And that's how I want it to look. When I build it in iOS, it ...
0
votes
2answers
27 views

Unity C#: strange texture/sprite problems

I've been making a gallery style shooting game, like something you'd find at a carnival, with ducks to shoot. I'd made the game and it was all working fine. However opening it today, it doesn't look ...
0
votes
0answers
41 views

Saving runtime animation Unity3d

I have a .fbx file and I matched it with a Mecanim. During the run time I modify some of the joints rotations, and I wonder how I can save the whole animation on a file to include the modifications I ...
0
votes
1answer
45 views

How do I get the position and rotation of an animated object in Unity?

I have this object which is being animated, the animation moves a arm and hand. I want it to look like it's holding something but I can't move the object to the hand because even though the animation ...
0
votes
0answers
20 views

Lightmapping + custom model + manifold

What are the things one should consider before doing light maps? We have custom models in Unity Scene,while doing light mapping it stuck at "Clustering job 5/11". After researching I come to know ...
0
votes
2answers
70 views

Saving/Loading PlayerPrefs only works in the editor

I'm creating a game which stores a few variables using PlayerPrefs. It saves and loads the PlayerPrefs perfectly fine while testing in the editor, however when I build it to WebGL or Unity Web Player, ...
-1
votes
0answers
38 views

Creating spiral using Shuriken

I've been trying to make a Spiral effect on Shuriken, with no luck (2D). I tried this out, but I couldn't get it to work like I wanted. Plus, I think that what I'm trying to do is pretty simple, so I ...
-1
votes
1answer
36 views

How do i move a 2D object with angle and speed variables in unity?

I want to move an object with a certain angle and speed, is there a was to set this as an initial velocity so that it is still possible for the object to collide and bounce of other objects using its ...
0
votes
1answer
44 views

handle mousedrag() for two different game objects individually in 2D environment

I am developing a pong game for android mobiles having 2 slider and want to assign movement of individual slider corresponding to its current position I tried some code for the movement of these ...
0
votes
1answer
13 views

Unity 4.6.6 iOS Build Issue

I am using unity 4.6.6 to create a Xcode build. When I create a build I am getting following error Cannot initialize return object of type 'Singleton_1_t6738 *' with an rvalue of type ...
0
votes
2answers
49 views

A cube on rotating cylinder not moving

i have an cylinder with self-rotating script, using UnityEngine; using System.Collections; public class rotate : MonoBehaviour { // Update is called once per frame void Update () { ...
1
vote
0answers
49 views

Why doesn't my orbit form an ellipse?

I'm playing around and trying to build an orbit simulator. Unfortunately, it isn't working out to well. Instead of forming some sort of elliptical orbit, I get this: Here is the code I'm using to ...