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
6 views

Automated Polycount reduction on an animated humanoid mesh - any solutions out there?

I was wondering, is there a solution which will decimate the polycount optimally on a rigged and animated mesh whereby the quality of the animation clips wont suffer too much? I am creating a mobile ...
0
votes
0answers
7 views

Creating an Tag Mechanic

I am building an Sidescroller in unity and i came up with an idea to build an Tag System. We wanted the player to: Switch between the Main and the Assisting Characters Receiving Benefits from the ...
0
votes
0answers
9 views

How to Create Characters Classes for an Sidescroller

I am using Unity Programming in C# to build an Sidescroller 2D Endless Runner and building 4 classes: Warrior, Rogue, Mage and Ranger. It would be like: void PlayerCharacter() { Move(); ...
0
votes
0answers
2 views

Prime31 Plugin Error : “Plugin 'P31RestKit.dll' is used from several locations”

I got the following error, when i tried to install "Prime31: MicrosoftAds_2015-04-22" plugin in Unity 5 Plugins colliding with each other Plugin 'P31RestKit.dll' is used from several locations: ...
0
votes
1answer
13 views

Play audio clip from where it left

I spent some time playing with AudioSource.time & AudioSource.timeSamples and read some posts about them. So I get that due to audio compression I can't rely on .time for accuracy so I need to use ...
-1
votes
1answer
13 views

Players Health getting recuded only once when attacked

I made a game in Unity 2D Issue: I have made some spikes and other aliens, which decreases the players health if they come in contact. The health only decreases once instead of getting decreased ...
0
votes
2answers
45 views

How to get input for movement?

I'd like to input a direction on the controls then it send the player straight to that location. I'm trying to achieve an 8 way directional thing the play only needs to be able to travel to one of the ...
0
votes
0answers
6 views

Canvas auto reset or hide

We are developing 3D racing game. The thing is after some time our Canvas UI is getting auto reset or hide. Suppose I added Canvas to character controller then its getting hidden after sometime but ...
0
votes
3answers
24 views

Ping Pong bat is not detecting the collision with the wall

I have been learning Unity for last couple of days. I want to make one simple ping pong game. The idea is simple. The game has a Sphere as a ball, a plane as ground, 2 rectangles as bats and 4 ...
0
votes
0answers
7 views

pivot of a 3d model outside its mesh after importing into Unity3d

as you can see, the pivot is outside my mesh. I want to use the pivot for rotating around, for that I need to set the pivot to the real "rotating point". I know that there's the SetPivot script, but ...
0
votes
1answer
17 views

Unity3D WWW get HTML displayed in browser

I currently have in a web page, on a localhost server, some information that I want to use in Unity. My problem is that this information are stored in some js variables. I tried to use the WWW class ...
0
votes
2answers
30 views

How to prevent the player from calling the Jump function if no collision is detected?

I am back once again. This time with a basic 2D platformer game. I would like to allow my player to jump but only if the ground bool checks as true. I would like to fix my script so that upon ...
1
vote
3answers
477 views

track how far player is from finish line

We are developing mobile racing game.We are looking to implement tracking system. For example if four players are on race track then in up side of screen one slide bar type line will be there whcich ...
1
vote
1answer
13 views

Share a function between two passes inside CG Shader for unity3d

I'm writing a shader in CG language for Unity3d. When making transparent object you need to create two similar passes in SubShader. First to render only back faces (with Cull Front) and second to ...
0
votes
2answers
21 views

Color submeshes in unity3d

I have a mesh that has 10 submeshes, I wonder how I can change the color of of these submeshes to a different color (e.g submesh1 will have a red color, submesh2 will have a blue color,...etc). Any ...
-1
votes
0answers
29 views

Water jetpack effect [on hold]

I am working on mobile game,the requirement of game is to have water jetpack. I want to achieve water effect something like we see in jetpack joyride, https://www.youtube.com/watch?v=bW-hz3GUGSo ...
0
votes
0answers
35 views

Player not getting destroyed when its attacked [on hold]

I made a game in Unity 2D, it was working fine But when I upgraded from unity 4.3 to unity 5.0 some of the collider are not working properly. I made the game objects again but still the problem ...
0
votes
2answers
24 views

unity animation won't play unless input key is held

The code is simple. If the player presses the right arrow key, one animation clip plays. If the left arrow key, another clip plays, etc. However, the clip doesnt play fully unless the input key is ...
0
votes
0answers
18 views

Is it possible to generate a Spheremap from a Texture2D in Unity at run-time?

I was trying to create a spheremap from a Texture2D for a skybox at run-time (Standalone build) in Unity. Does anyone know if this is possible and how to do that in Unity? In the editor you can set ...
0
votes
2answers
40 views

Rotate Character towards Moving direction

So my Problem is that my Character is always shooting in the way it is looking. Unfortunaly my solution seems to be a very bad one. I am not really cabable of aiming with my solution. Neither with ...
1
vote
0answers
21 views

Changing an Image's alpha through an animation in Unity

I'm trying to change an Image's alpha through a legacy animation in Unity, so that it fades in and out in a loop. The animation works: I can see the color updated in realtime in the inspector. But the ...
0
votes
1answer
33 views

Is there a way of moving the transform of an object relative to it's geometry

I have a number of objects (mostly prefabs) that have their transform origin in inconvienient places such as about 1 unit to the left of the actual geometry or somewhere inside an object where it's ...
-3
votes
0answers
87 views

How powerful is Unity, and is it fit for large-scale projects such as AAA games? [on hold]

I've seen Unity been used in several indie games, however I haven't actually seen it been used in a large-scale project. Why is this? If it's due to the lack of power, what areas does it lack in? ...
0
votes
1answer
19 views

Unity - “SetDestination” can only be called on an active agent that has been placed on a NavMesh. UnityEngine.NavMeshAgent:SetDestination(Vector3)

I'm using Unity5 right now. I got this error when try to setDestination. "SetDestination" can only be called on an active agent that has been placed on a NavMesh. ...
0
votes
2answers
28 views

Unity - Text not properly align

My text doesn't seem properly align to top left even I already set it in Rect Transform. Please advice. Thank you.
0
votes
1answer
32 views

How to Render and Blend Multiple Frames to a Buffer in Unity?

I was wondering if anyone knew how to render multiple frames from a camera or texture to a buffer in Unity and to then blend them together? Is this possible? If so how would I go about doing so in ...
0
votes
1answer
37 views

UnityException: Unable to install APK! Installation failed. See the Console for details

I got this error message when trying to build and run on Android actual device. UnityException: Unable to install APK! Installation failed. See the Console for details. ...
2
votes
1answer
20 views

Unity - Main manifest has <uses-sdk android:minSdkVersion='9'> but library uses minSdkVersion='17'

I got this error message when trying to build and run for Android. Error: [Temp/StagingArea/AndroidManifest-main.xml:22, ...
2
votes
1answer
80 views

What is a good way to code dialogue creation?

I'm thinking of making a single method/class/something that will handle my dialogue in the game. AKA, something like: Main text: Choice 1 Choice 2 So I want a method that will able to put ...
2
votes
1answer
76 views

What is an acceptable receive rate for a client?

I've noticed that syncing a transform( in Unity, so a Vector3, and a Quaternion ) ends up being close to 1000 byes per second received on a client( send rate of 20hz ). Multiply this by a generous 20 ...
2
votes
3answers
94 views

What are the differences between using “GetComponent<Transform>()” and this.transform?

I've been reading some example codes and working on my own stuff in Unity. I've been seeing a lot of GetComponent, and often this will be done for the transform: Transform _transform = ...
0
votes
1answer
46 views

Access different vertices of a Mesh Unity 3d

I have a mesh and I want to color each group of vertices with a certain color. If anyone could please advise how this can be done in Unity using coding?
0
votes
1answer
24 views

Making a multiplayer game on unity [on hold]

I've made a game with friends on XNA and I wanna do it in unity. I'm starting to learn it for now, made a spritesheet and did some basic movement animations. Can u suggest some site or a detailed ...
0
votes
0answers
40 views

Solution for GIT commits in Visual Studio while Unity is open?

Specifications -VS 2013 Pro (Linked with Unity) -Unity 4.6.1 -Git Version Control (Linked with Visual Studio 2013) Summary After much research, I haven't found any solutions to this fix. *While ...
1
vote
1answer
52 views

Level Data with JSON [on hold]

I am doing level data for a game in Unity with C# I have it in my game as int[,] data = { {0,1,1,0,0,0,1,1,0}, {1,1,1,1,1,1,1,1,1}, {1,1,1,1,1,1,1,1,1}, ...
-1
votes
0answers
24 views

How do i make a load level method that if you touch a object you move to a different level in unity [on hold]

public void OnTriggerEnter2D(Collider2D collisionObject) { if (collisionObject.gameObject.tag == "h") { Application.LoadLevel ("h12"); } }
2
votes
2answers
175 views

How to apply a script to multiple Objects in Unity?

In Unity, I've almost 200 or more objects. I wish to apply single script to all those objects. I'm a beginner & learning scripts in Unity. Edit: At the time of editing the scene itself.
3
votes
2answers
44 views

Unity Change Sceneview to camera view

On selecting camera, I get the camera preview. In Unity, while editing the scene, I wish to switch in such a perspective view that is exactly visible by the main camera. Is there a short cut to ...
6
votes
2answers
86 views

Object Composition in the Unity Editor

I'm trying to learn how to use Unity for my class composition, and I was wondering if you could help me. I'm trying to create a simple game where the player is trying to pop a bunch of balloons. ...
2
votes
2answers
73 views

Unity3D: Efficiently loading chunks in an infinite voxel engine

I'm developing a voxel engine in C# using Unity and I'm currently trying to implement infinite terrain, so I took a look at other Unity voxel engines that have infinite terrain. I've seen three ...
0
votes
0answers
15 views

A panel to change 3d object properties when right click on it (Unity)

I'm building a UI system to edit selected 3D objects. I have spheres on the screen and I want to be able to edit their proprieties (radius for example). In order to do that I want the user to be able ...
-1
votes
1answer
18 views

Unable to animate sprite renderer

Why am I unable to add any of the sprite renderer's properties? How can I do it? On all the other properties like transform and so on, when I open them I have a + indicator in the right if I want to ...
0
votes
2answers
92 views

In Unity3D, how do I create an efficient scratch card effect?

I want to create a scratch-card-like effect in new Unity UI's new Image tag. I know it's possible with setPixels, but that's prohibitively expensive on mobile devices. Something like this: I'd ...
0
votes
0answers
50 views

Room game type logic [on hold]

I have started creating a FPS game(nothing serious), now i am facing another issue. Each can create a room(server side), server controlles AI, bullet physics and just about everything. The problem i ...
0
votes
2answers
53 views

using an int to control events

Let me explain -- I'm just looking for a way that I can link a number to a set of methods. I want to randomly generate a "difficulty" int, and pick out an event based on the number I get. IE, if I get ...
0
votes
0answers
10 views

external camera did not recognize marker in metaio

I have one problem here.I'm using metaio sdk in unity and i want to use external camera to detect marker.but my problem is, the external camera cannot recognise marker.when i switch back to internal ...
0
votes
1answer
58 views

Comparing two strings in Unity C# [closed]

I am trying to compare two strings in C# but even though I print the strings and they are the same, the check always fails. Only one is stored in a variable and the other is hardcoded. I tried using ...
2
votes
1answer
85 views

Which is the better way to distribute server workload for MMO server?

I'm making a server for MMO in Unity, which implies that I'll have a big world, split into maps which will be on different servers (to distribute the workload), managed by one master server. Now I ...
-2
votes
1answer
35 views

Unity - How To Save Some Variable WIth PlayerPrefs?

I have a small problem. in the game that I'm creating I created an array of items, each item includes a number of variables (cost, level, etc.). my goal is to save your own variables for each item, ...
0
votes
0answers
26 views

Character controller going down slopes

When I go down slopes with character controller, if the speed is too high, the character just flies off the slope and lands at the bottom. I want my character to "stick" to the slope rather then just ...