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)

0
votes
0answers
15 views

How to get a license for XBLA Indie Games?

I'm an experienced Unity3D developer with multiple mobile apps. I want to start developing for consoles, like the Xbox. I have multiple questions regarding this: 1)How do I get a license? 2)How much ...
0
votes
0answers
9 views

What game engine should I use? [on hold]

Okay before I go any further I have worked with other engines before like unity and attempted to learn the new unreal 4. The game I would like to make is an adventure game with a wide open world and a ...
0
votes
1answer
10 views

Unity3D - GameObject as a static function

Newbie Unity3D/C# developer here. I've tried learning Unity3D during my June college vacation and came across a problem:Code 1: CameraObj returnVoid; void Start () { returnVoid = ...
0
votes
1answer
1k views

Sending RPC calls from server to client inside Unity

In my game inside Unity, I have two scenes setup. One for the main server ( acts like authoritative server ) and the other scene for my client. The game starts once my client connects to the server. ...
0
votes
1answer
7 views

How to detect if I click on an object (2D) using Raycast?

Hello everyone :) I need to know this for a little popup i made in my game, I want to avoid using OnMouseDown because I have multiple cameras so I was wondering how Id be able to detect a mouse click ...
0
votes
2answers
110 views

How to make instantiated objects not on top of each other?

I randomly instantiate game objects, to create a dynamic "sky map". But some planets appear on top of another ones. I'm trying to solve this problem with Collision detection and Colliders, but it ...
0
votes
1answer
135 views

How to find the closest point on a plane

So I have this terrain with a perpendicular plane setup, now I want to move the vertices of the plane to their closest resp. vertices on the terrain. I made a drawing to illustrate my thoughts. ...
2
votes
1answer
319 views

Can I create a Sprite Asset using a downloaded Texture at runtime?

I know that Asset Bundles exist, and I'm already taking a look at them. But I'm still interested in this particular approach: I am interested in downloading a .png image from the Web, and then ...
0
votes
2answers
195 views

How can I disable an NGUI button when I pause my game?

There is an NGUI button in my game, which when pressed increases the player's power. When I press the escape key, my game pauses completely. But the button still functions normally. Here's how I ...
0
votes
2answers
47 views

Position child on the edge of the parent circle while scaling unity3d

I have come across to some different situation. I have one circle sprite and i am rotating circle continuously while rotating i want to make circle smaller and larger. I have one object on the edge ...
0
votes
1answer
28 views

Trying to get reference to Button in Javascript Unity3d

I've this simple script in Unity3d: #pragma strict public var topLeft : UnityEngine.UI.Button; public var topCenter : UnityEngine.UI.Button; public var topRight : UnityEngine.UI.Button; public var ...
3
votes
6answers
4k views

Why do my point lights disappear when another nearby light is above 1.85 range?

I'm making a game with a dungeon setting in Unity 3D. Many torches line the walls. I'm using a point light over each torch to simulate the flame. However, when two torches are across from each other, ...
1
vote
1answer
23 views

Vector2.Distance on different resolutions

firstTouchPos = Camera.main.ScreenToWorldPoint(Input.GetTouch(0).position); endTouchPos = Camera.main.ScreenToWorldPoint(Input.GetTouch(0).position); //the height of the ...
0
votes
0answers
23 views

Why does Unity add a heap of children to an imported animation when dragged into the scene?

When I drag an imported animation into the scene, Unity adds: A game object with an Animator component A game object with a skinned mesh renderer component. A game object with just a transform that ...
0
votes
2answers
32 views

Unity Vector3.MoveTowards over the span of a minute with Time.deltaTime

I'm trying to figure out how to use Time.deltaTime to let me move an object over the course of a minute. From my understanding, Vector3.MoveTowards(transform.localPosition, finish, Time.deltaTime) ...
1
vote
0answers
138 views

How can I get shadows to appear correctly when using a custom projection matrix?

As mentioned in this thread, I'm using a custom projection matrix in Unity. Unfortunately, this breaks the default shadow system in Unity. Thus, I was wondering if anyone knew how to possibly ...
1
vote
1answer
19 views

Implement dynamic 2 player splitscreen based on player positions

Having a local 2 player game, when the distance between the player is big enough, we have a splitscreen whose shape is defined by the angle between the two players. When they get close enough to each ...
0
votes
1answer
50 views

Outline of plane slice of arbitrary object

How would you extract the outline of a shape from slicing a plane through an arbitrary object? Note: This is related to my Unity Answers question, but not exactly the same.
1
vote
1answer
22 views

Start iTween MoveTo from a specific node? (Unity)

I just started using iTween as part of my day/night cycle. I'm trying to move the sun and moon along a curve, but I want have the sun/moon start at a specific location depending on the time of day. ...
-2
votes
1answer
32 views

How can I make a dynamic crashed effect in unity3d? [on hold]

I'm doing an endless game where my little car has to crash in other cars. The game logic is working but I have not been able to find a way to implement a visual crash effect, so that the other car ...
0
votes
1answer
26 views

Animator, gameObject position not being kept

I have idle & popout animations. Idle- simple scaling up and down 2d object and popout- get the gameobject's position to the right and leave it there. I'm using animator for this purpose. I have a ...
0
votes
1answer
818 views

Creating a curved mesh on inside of sphere based on texture image coordinates

In Blender, I have created a sphere with a panoramic texture on the inside. I have also manually created a plane mesh (curved to match the size of the sphere) that sits on the inside wall where I can ...
-3
votes
0answers
26 views

Which is the best Platform/Engine for a beginner for developing an Android game with following specifications [on hold]

This is a very general question for which I wouldn't mind getting equally general answer. I want to develop a simple 2D android game with following specifications: 1> A 3D object that rotates in all ...
0
votes
1answer
70 views

Trigger scene loading in one device from another device using Unity WWW class

I have a master device and client device. I want to load a scene in the client device by pressing a button in the master. My method is, when the button is pressed in the master device, a data is ...
0
votes
0answers
19 views

How to improve textmesh quality?

In my game I using textmesh, but textmesh has a pixel problem even adjusting scale, character size and font size. How to solve it?
1
vote
1answer
22 views

Changing scene while joinin room and RPC buffer problem

I have a button to create and join a random room in my main menu. After the client joins (or creates and joins) a random room, i change the scene to game(main) scene in "OnJoinedRoom" function. It ...
2
votes
0answers
282 views

Inline sprites in Unity's text?

How can I use different materials when using the tag for Unity's rich text syntax? I want to be able to have sprites that are inline with my text without having to create custom fonts. Here's what I ...
0
votes
1answer
18 views

Scaling of a bone is working while rotation is not Unity3d

I'm using Unity3d and I'm trying to rotate the left leg bone of an avatar but it is not working although scaling is working well. This is the code used for scaling and is working perfect: ...
0
votes
1answer
105 views

Delegation in unity C#

I have a game where I have balls bouncing and you shoot them. Since I need a way to end the level when the player shoots all the balls I though I would create a game controller script which will ...
0
votes
0answers
18 views

How can I restrict rotation about the intersection point to right angle intervals?

Right now, I can draw two line segments and then rotate about the intersection point using one of the line endpoints or by dragging the whole line about the intersection point. I can scale my line by ...
2
votes
2answers
204 views

How can I move game objects using keyboard in the Unity scene editor?

I know I can click on the "move" button and use my mouse to drag the object around. How can I do the same using my keyboard?
0
votes
0answers
14 views

Export as .dae, but retain color (all for Unity)

So, I was trying to learn some basic Unity stuff (I am a noob in all respects), and in my early research, I discovered something amazing: I can import 3D meshes that I make into Unity! So, I ...
0
votes
1answer
86 views

GameObject is only rendered when it has a negative z scale

I have an orthographic camera that looks like this: I create 2d polygonal meshes that have uniform z values in their vertices. I use Camera.ViewportToWorldPoint() to map these viewpoint vertices to ...
0
votes
2answers
144 views

How to stop rotation every 90 degrees?

I was facing another rotation problem yesterday, that i managed to solve by rotating the object like this : transform.Rotate (speed * Time.deltaTime, 0, 0, Space.World); I tried almost every other ...
0
votes
3answers
67 views

Unity and the problem with calling functions from other scripts

I'm not sure how everyone handles this, but I'm running into lots of instances where I want to call a nonstatic script from another script which forces me to add the nonstatic script to the gameobject ...
0
votes
0answers
8 views

Android split build - manual obb file download necessary?

I have an apk built with Unity 5.0.1 that has over 50MB. Google Play does not accept files over 50MB so I have to make a Split Build as covered in the Unity manual: ...
1
vote
0answers
25 views

How to improve image clarity in Unity 3d [duplicate]

How to improve image clarity in Unity 3d. If we use same images for game developing in Adobe Flash and in Unity , flash game have more clarity , but in unity image will blur . Text Mesh also blur How ...
0
votes
2answers
38 views

GameObject's scale gets 0 after being parented in editor

1) Before 2) After being parented. I found a pattern. When adding the child, if the parent's scale.z = 0 the child scale.xyz becomes 0 on parenting. If the parent's scale.z != 0 it works. Another ...
1
vote
1answer
436 views

How to create water with ripples in custom places for top down game in Unity?

I want to make topdown row boat game with Unity. I want graphics to be simple (sprited), but the water must be "very nice" and realistic and it should reflect movement in it (paddles and boat movement ...
1
vote
3answers
97 views

How do I make my camera follow my cube?

I've recently started to learn some C# scripting in Unity. I've been able to make my PlayerCube move around using Vector3 Transform.translations, but I want my camera to follow my cube while moving ...
0
votes
3answers
52 views

How to improve image clarity in Unity 3d

How to improve image clarity in Unity 3d. If we use same images for game developing in Adobe Flash and in Unity , flash game have more clarity , but in unity image will blur . How to get good clarity ...
1
vote
1answer
75 views

Unity: How to get a GameObject programmatically?

I have created a prefab. In Unity Scene editor, I dragged the prefab into the scene and named it PrefabA (this is a GameObject instance of the Prefab). Now, I need to update the PrefabA position. How ...
0
votes
1answer
737 views

Unity-Animation parameters are not being set

I have the following animation controller: with two parameters of walkingSpeed and Jump. I have the following code which should change the values: animator.SetFloat("walkingSpeed",0.9f); ...
0
votes
3answers
2k views

Going from WPF to Unity3D, how to implement the MVVM-pattern?

I've been working with MVVM in WPF for a long time and I'm now trying out Unity3D for a GUI-driven application. Can I work with view models and bind them to properties in GUI-components? I guess the ...
0
votes
1answer
25 views

unity — object references, why do I always get errors?

For context: I randomly generate a few points on the map, and each point is a gameobject with a script containing an OnMouseDown method. Here's the relevant pieces of code(I've omitted the irrelevant ...
0
votes
1answer
746 views

How do I add a Rigid body and a box collider component to a Texture2D?

I am making a snake game. I'm basing it on a basic tutorial game, which does no collision detection, wall checking or different levels. All snake head, piece, food, even the background is made of ...
0
votes
2answers
285 views

Find closest point on NavMesh if current target unreachable

I have a mock environment set up with a cube that has a specified "Not Walkable" layer. I'm using NavMeshAgent and NavMeshPath to set destinations of the player. The way I'm setting paths is by ...
0
votes
0answers
19 views

Character body morph in Unity using Blender models

I have character and clothes modeled in Blender. Everything rigged, weighted and mecanim compatible. All working good in Unity. I am trying to implement in-game character body shape customization. ...
2
votes
2answers
646 views

Place an UI Image between two 2D sprites in Unity

I am developing a 2D game with Unity. I have two sprite objects rendered using SpriteRenderer. With the new UI system, I want to use it to display an image between my two sprites. That is, my first ...
0
votes
1answer
20 views

How to put labels at a specific point on any resolution

I am working on a project in Unity 4.6.1 and I put the label at the top: But when I put the Scene in full view this happened: I made a Development Build and when I select my resolution (1366x768) ...