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

Learning unity with XNA experience [on hold]

I have some XNA/Monogame experience and I want to try Unity. My goal is to become a programmer, not a game developer. As I searched for some unity tutorials, I found that I personally do not like the ...
0
votes
0answers
26 views

How does unity size graphics?

I'm working on a 2D game. It has tiles. each tile is 50x50 px. I attached script to camera which sets the camera size to screenHeight/2/PixelsPerUnit. Now in the player, as an example i selected ...
0
votes
2answers
60 views

2D indicator for Rotation in 3D space

This is the view from my spaceship. It can move around in 3d space and turn up, down, left and right. The planet Earth on the top right is selected. Now I want to create the red arrow to always ...
1
vote
1answer
193 views

How to rotate an object to face another in Unity?

I'm having an issue where I can't seem to rotate my bullet appropriately whenever I spawn one. I currently have a capsule prefab I am testing with. I spawn it with the following code. ...
0
votes
1answer
22 views

Rotation and timer at the same time

I have a project where I flip a card after 5 seconds, then I want to start a countdown timer of x seconds. After x seconds the card flips again. I found a good example for the timer here, but that ...
0
votes
1answer
24 views

Unity3d iOS build - where are the textures?

First time building and running my Unity3D app on my iPhone and it appears that all the textures are missing. Everything is just a solid block of whatever color I made it. When running in Unity I ...
0
votes
1answer
21 views

Have several classes with a common interface, but still able to access MonoBehaviour methods through that interface?

In our project we used to have a PlayerObject class and then Unit and Building derived from that class. We recently started taking a look at Bolt, which requires classes that define objects that may ...
0
votes
0answers
34 views

How to obtain age of a gamer? [on hold]

If I were to make game with lots of pornography, violence, drug usage, whatever, in it. I'd surely like to verify the gamer actually being 18+ or 21+. What are the legal and trusted ways to do it? ...
1
vote
2answers
120 views

Unity: DontDestroyOnLoad

I'm viewing tutorial of Unity. In this tutorial, I see this piece of code: public class GameControl : MonoBehaviour { public static GameControl control; public void Awake() { if ...
0
votes
0answers
42 views

How to get a position from a radial distance and angles?

I have a radius and the 2 angles for northSouth and eastWest rotations in degrees. I need a Spherical position or a cartesian position (I have code translate one to the other) Where a position is ...
0
votes
1answer
17 views

Unity3d - c# - changing FPSInputController controls through script

For a game I am making I would like the user to be able to change the controls (in game NOT through the clunky launch window (wich i disabled)) I have the system working but don't know how to change ...
1
vote
1answer
27 views

2d character implementation in unity with a baseball bat

I going to make a 2d baseball game in unity so how should the player and bat be connected,Or if i use single sprite of player and bat, then how the exact collision of bat and ball should be detected.
0
votes
0answers
12 views

Does unused 2D colliders in Unity affects performance? Is an Edge Collider more performance friendly than BoxCollider2D?

I am using a lot of gameobjects for my platformer that uses BoxCollider2D component to make the scene floor. But only an a selected set of gameobjects actually have some interaction with the player, ...
2
votes
1answer
36 views

Replacing a sprite for another on runtime (Unity3D)

I need to replace the sprite of a face down card for another sprite (of a face up card). This is the C# script attached to the face down card: using UnityEngine; using System.Collections; public ...
0
votes
1answer
15 views

How to get Unity's 4.6 UI images to layer over each other perfectly?

I've been noticing that if I have two images, lets say squares. I have A as the parent of triangle B. Triangle A and B both have their offsets at their anchors, which are on the 4 corners of it's ...
1
vote
2answers
79 views

Does PBR mean only one, right technique to view 3D scenes?

For example if I call Unity 5 render pipeline a PBR and Unreal Engine 4 render pipeline as well PBR, does it mean that the same model with the same PB textures will be viewed identically in very ...
0
votes
0answers
41 views

How to deal with cheat avoidance and trusted client issue [duplicate]

I hope not to be off-topic here. At the moment I'm dealing with networking programming for the game I'm working on and I found different possible scenarios. I started to build code using a Platform ...
0
votes
0answers
24 views

Unity Pro license for android and ios [on hold]

Here is the information that I get on Unity Store So as above information, I can understand: license for Unity Pro is different from ios Pro and Android Pro. That's means if I want to publish my ...
1
vote
2answers
104 views

how to 'Scale up' my procedurally generated island/continent without losing its uniqueness?

Currently I am trying to make a procedural terrain generator. When I first started creating my terrain generator I decided to use a radial mask to generate my islands/continents like so: But as ...
0
votes
0answers
28 views

Sine wave angle calculation [on hold]

How do you calculate angle of sine wave during it's period? I know that period of sine wave is two PI or 360 degrees. I have been trying find answer to this, but with no luck Thanks already for the ...
0
votes
0answers
20 views

Launching projectile from a “canon” [duplicate]

I'm working on "Scorched earth"-like game just for learning purpose. I can't figure out how to launch the projectile from my tank's position, with a power of X ([0,100]),at an angle of Y ([-180,180]). ...
-2
votes
0answers
20 views

How do I store data of game assets in sdcard in unity

I am making game in UNITY3D and Its getting too big, I want to store the game data in sdcard by downloading it when the game start (same like most of gameloft's games). I tried AndroidOBB plugin and ...
0
votes
0answers
20 views

Unity PolygonCollider2D acts different on iOS Device

I'm instantiating new game object, then adding a SpriteRenderer component and attaching a sprite object, and only after the sprite is fully loaded, I add a PolygonCollider2D, to fit the sprite I've ...
0
votes
0answers
16 views

save and view snapshot image from android device

I'm having a problem with saving image into an android device this is what i did My java class : package com.test.app; import com.unity3d.player.UnityPlayerActivity; import android.os.Bundle; ...
0
votes
1answer
34 views

How do I draw a line from a set of points in unity to use as terrain in a 2D game?

I'm trying to make a 2D game in unity. My terrain is randomly generated and what I'm trying to do is make a bunch of points with different x coordinates and then draw a line through them to use as my ...
0
votes
1answer
47 views

How to deal with events in a game with multiple players, in Unity?

As I'm developing our game I have asked myself a couple times "When we have more than 1 player, how will I ensure events from player A do not crossover to player B?" As an example, lets say player A ...
-1
votes
0answers
77 views

Is XNA still relevant? [closed]

I am currently devlopping a game with XNA. But the community seems to not be active anymore. That's why I am asking if I should still go on... What's the advantage of using Unity3D ? Will I be able to ...
1
vote
1answer
45 views

Unity2D: Automatic scaling of camera and sprites

I'm working on a point-and-click adventure game using Unity2D for mobile devices and possible PCs and I'm trying to wrap my head around supporting devices with different screen sizes and aspect ...
0
votes
1answer
29 views

maps in a multiplayer diablo clone - unity3d

I'm messing around with unity3d free, trying to figure out if i can get away with using its readymade graphic engine. I have some problems figuring out how maps should be implemented/handled (the ...
0
votes
1answer
21 views

Export Spriter animations to Unity

I want to use bone animations in my 2D game for Unity (5.0 beta). I am trying Spriter. Apparently, it has no official Unity support. There was some guy, back in 2014, who posted a plugin to convert ...
0
votes
0answers
26 views

Methodology for scenario creation [closed]

We are going to create a 2D zelda-like game with an static world (not procedurally generated), where exploration and interacting with the scenario is the focus of the game. We have a rought idea of ...
0
votes
1answer
43 views

Remove previous scenes from memory in Unity 3d

I'm making a game in unity3d which I optimized as much as I can. I've made different levels in each scene. After a few scenes the game starts to lag on mobile devices. And works smoothly if ...
2
votes
1answer
30 views

Unity 4.6: why Image object doesn't stretch all sides of canvas

I insert a canvas, after that, I insert an image at center. Then, I want to stretch this image over this canvas, so I choose last option as below: But the image doesn't stretch to fit the canvas, ...
2
votes
2answers
328 views

Unity: Make camera center of screen

Here is my camera setting: With this setting, when I run, game is not center of screen: Please tell me how to fix this. thanks :)
0
votes
1answer
22 views

GUI.Box z-index for mouseover

So I am drawing an inventory with slots like so: private void DrawItemSlotAndAttachActions(Item currentItem, Rect slotRectangle, Event e, int itemSlotPosition) { if (!(currentItem is ...
2
votes
2answers
121 views

How to synchronize damage with attack animation in a RTS game?

I have been working on a RTS game in unity and did damage deal through code and a timer but it does not fit with the animations quet well. The damage is dealt in the beginning of the animation and ...
0
votes
1answer
17 views

click to move, RigidBody2D error I am suspecting? [closed]

I have been working a bit on this, and I can't figure out why the velocity of Rigidbody2d is going haywire.Character bumps the air like crazy if isKenimatic is toggled off, elsewise he moves ...
-4
votes
1answer
76 views

Does Unity 3d cost money? [closed]

So I installed an Unity engine and I want to develop games by that. I heard that it costs 1500$ to program the code and post the game. Is that true? Did some1 developed a game with it and uploaded it ...
0
votes
0answers
16 views

How can I increase the horizontal speed of something every N seconds in Unity and make it STAY increased? [duplicate]

I have these particles that only move horizontally and to make the game harder I would like to increase the speed of these particles every 5 or so seconds. I am not sure how to do this I am still ...
0
votes
2answers
92 views

How to stop objects pushing each other away on collision?

I'm creating something along the lines of Super Smash Brothers. There's a problem with the collision between the two players and projectiles. We have rigid body on the characters and projectiles and ...
1
vote
1answer
117 views

Do I need the dev kit in order to release for Wii U?

In nintendo's developper website I found this quote. Q: How much does it cost to develop on Wii U? It’s free of charge to participate in the program and to submit games to Nintendo for ...
0
votes
2answers
70 views

How to add a logo to a captured image?

I have a plane which contain a WebCamTexture and a button to capture the image script to capture the image void CaptureAndSave () { Debug.Log (Camera_panel_script.webCameraTexture); ...
-2
votes
0answers
41 views

i want to increase timer by 40 sec but code is not working . help me [closed]

using UnityEngine; using System.Collections; public class Timer : MonoBehaviour { public double timeremaining = 40 ; public double newcount ; // Use this for initialization void Start () ...
1
vote
1answer
48 views

Rotate on key down, revert rotate on key up?

How would I rotate an object a certain number of degrees when the left arrow is pressed and then rotate it back to its start when the left arrow is released?
4
votes
1answer
71 views

Blocking Physics Raycasts with Unity's 4.6 UI?

I use raycasts to determine hit objects and object selection in our game. I want these to be blocked by UI elements. Before I had a crude form of that where I just excluded rects of the screen, though ...
-1
votes
2answers
50 views

Accelerometer bike game rotation help

Hi I've been making a game for the last few months and not sure what to do. It's a 2d bike game and I want the rotation done with accelerometer, at the moment To test on computer I've set the ...
0
votes
1answer
37 views

How could you create an SSX style snow trail in unity3d?

So it SSX (a snowboarding game) when you are snowboarding you leave behind a dents in the snow(like a trail) .It's like how if you take a step in the snow you will leave a footprint behind but with a ...
0
votes
0answers
22 views

Unity: Animation Controller: Does “atomi” attribute in 4.6.3 same with “has exit time” attribute in 5.0

I'm viewing tutorial that base on Unity 5.0. In this version, I see an option which name is: has exit time: But on my Unity version is 4.6.3 doesn't have this option instead atomic. AFAIK, it ...
0
votes
0answers
59 views

Anti-Roll bar doesn't work

I'm making a racing game in Unity that has trucks as vehicles. For the truck movement, I'm using WheelColliders. After some testing, I found out that after a certain speed (~60km/h), turning made the ...
0
votes
0answers
32 views

LineRenderer is not collide [closed]

I am trying to make a jumble word game in which there are number of English letters in matrix form and the user needs to make a proper English word by drawing a line between letters. The line can be ...