Unity is a highly cross-platform engine that focuses on easy art pipeline process and uses Mono as its scripting back end.

learn more… | top users | synonyms (1)

0
votes
0answers
3 views

Projecting a light onto a quad

I need to project the light onto the quad and use its value for translating the vertices. I'm currently having 6 vertices, two quads, The points are A X C B Y D Point X, Y are coming from two ...
0
votes
1answer
94 views

Textures in Unity3D appear with lower quality than in Photoshop

I made game assets that look great in Photoshop, but they look like crap when I import then into Unity and run the game. Why?
0
votes
0answers
11 views

What platforms are unity good for? [on hold]

I recently read Unith have released support for the nintendo wiiU and are working on the 3DS. This has made me think about learning unity but moat of the questions regarding unity i see on here are ...
5
votes
1answer
1k views

How can I export a .FBX file from Unity3D at runtime?

I want to export an object as a .fbx at runtime in Unity3D. I've made a C# script to export a mesh filter or skinned mesh renderer to a .obj file at runtime, but I want the animation and skin support ...
0
votes
1answer
36 views

How can I implement simple distributed processing in a Unity game?

I'm looking to set up a game which uses distributed processing. Just a simple brick shooter in unity with the distributed part being that the calculations for the falling blocks are handled by another ...
0
votes
1answer
72 views

Unity animations in iOS

I'm an iOS developer and I'm trying to make 2d animations with Unity 4.3 + RageTools Pro + RageSpline. I want to integrate the animations into a native iOS application. In Unity I have different kind ...
0
votes
1answer
501 views

How to make custom shaped holes in terrain

So I'm trying to create a game where you fit certain shaped objects into the hole that fits them (similar to the young children's game with different shaped blocks) in Unity 3D. I've encountered a ...
1
vote
1answer
43 views

How can I play an animation in response to an event?

I've written a script to play an animation, but it starts immediately as my level loads. Instead, I want it only to start when triggered by some event or after a given timeout. How can I do this?
-2
votes
1answer
71 views

Why is my Snake' tail rendering the wrong sprite? [on hold]

I am making a snake game in Unity. The game is simple, using Texture2D to display the head, tail and body parts. I am stuck with this problem: I stored 4 textures (each one for one of the four ...
2
votes
2answers
261 views

Bloom only on line renderer

How do I apply the Bloom Effect Line Renderer's only? I'm using the bloom effect from the Unity Pro image effects script but it's affecting the way light is rendered to the scene.
0
votes
1answer
37 views

Is this Possible to force gameobjects (coliders etc) to get stretched based on the aspect ratio of the screen?

Well with unity3D, I am in big trouble whenever I use sprites. As for textures I compensate for a evener look by Stretching it (Screen.width & Screen.height- that's fine for low end 2D games). Now ...
0
votes
1answer
82 views

Mesh Manipulation - changing vertex data dynamically

I have am trying to achieve Mesh Manipulation of any mesh based on User Input mostly sliders, example of what I am trying to do is http://www.youtube.com/watch?v=-oMxVGmeO-s . I am not sure whether to ...
5
votes
1answer
90 views

How can I implement Objective-C libraries in Unity?

I've been a "hardcore" developer for sometime now, as I've always worked with pure code reactive rendering, and contributed to Cocos2d library some time ago , (It is the one I used for my games) . But ...
1
vote
1answer
64 views

Animating feet seperately from the body

I have a character and I would like to animate a walking animation for it. However i get the following result when I animate it: (ignore the green lines/ markers/ sound) As you can see the foot ...
-2
votes
0answers
21 views

Unity Question: Destructible Boxes [on hold]

How would I go about creating a destructible box within unity? I am going for the videogame cliche "OOO look a box! There's stuff in that y'know"!
0
votes
2answers
51 views

how to call the specific animation?

I have a script to control the player simply moves Left, move right, etc.. but the animation when winning, losing, or Light, just put it on the animation and animator and no script for it. I wanted ...
10
votes
3answers
544 views

Does Unity have existing support for Timelines?

I am planning the development of a game in Unity3D, and trying to come to terms with what the engine has already provided, and what I must code myself. The game itself is going to be a rhythm game, ...
0
votes
0answers
54 views

What do you think about my starting setup? [on hold]

I will start soon with learning Game-Developing. I already coded some programs and such things but 3D objects where have long ago. Now my question to you is, is this setup okey to begin with? Blender ...
1
vote
1answer
389 views

InvalidOperationException when using C# DLLs with Unity3D

Description I've been attempting to use a custom DLL in Unity. I've confirmed the DLL runs correctly outside Unity. The DLL imports into Unity and when I refer to it in my scripts, I get no compiler ...
0
votes
1answer
60 views

Level loading works in Unity editor, but quits when deployed

In my level selection screen, all but the first level start out locked. When I click on a level, it loads perfectly in Unity editor. However, when I build the game on a real device, the game stops as ...
1
vote
1answer
232 views

Create sprite renderer using custom material

I have done following thing. Create Material Attach sprite with texture type as Texture Add sprite renderer component to game object Assign material to it that I create in last steps There is no ...
2
votes
3answers
154 views

Should I use scenes in Unity for menus?

I assume scenes are for different levels, but should I use them for menu screens or is there a specific tool for menu screens?
6
votes
2answers
395 views

Detecting Light Intensity Around Characters

Later Edit Since there seemed to be a bit of confusion: I am asking this for purely didactic reasons, I'm not searching for the most efficient solution. Reformulated question: I'm working under ...
5
votes
3answers
287 views

How to create a new GameObject, without adding it to the scene?

I'm creating what is essentially my own prefab system. Game objects are defined by a human readable data file. I'd like to create an empty GameObject, load it with the components defined in the data ...
-1
votes
0answers
38 views

2d top down tank movement

I am trying out an idea of a tank like movement in a top down 2d game. I'd like to: get the float values of both left and right triggers I have from an xbox controller (float values from 0 to 1). I ...
0
votes
3answers
90 views

How to rotate a 3D character on top of a plane with an isometric picture on it

How to calculate the angles of the 3d charater so that it fits into the isometric environment projektet on a 2d plane? Also, how do you calculate the rotation of my character? What I want to achieve: ...
2
votes
1answer
206 views

Collider2D and Rigidbody2D, how do they work?

I have been learning JavaScript and Unity for a week now. I learned how to make Cube as a Ground and another Cube as a player and I used this code to make the Player Cube move forward and backward and ...
1
vote
1answer
38 views

Finding diagonal objects of an object in 3d space

Using Unity3d, I have a array which is having 8 GameObjects in grid and one object (which is already known) is in center like this where K is already known object. All objects are equidistant from ...
2
votes
2answers
98 views

Print on the GUI in Unity

I'm trying to show the players name on the GUI with a label. GUI.Label(new Rect(10,10, 100, 30), playerName); Instead of use the default style I want to use a different font with larger character. ...
0
votes
1answer
107 views

Using Appendbuffers in unity for terrain generation

Like many others I figured I would try and make the most of the monster processing power of the GPU but I'm having trouble getting the basics in place. CPU code: using UnityEngine; using ...
2
votes
1answer
52 views

Can animation parameters only be changed in scripts?

I have a very simple animation parameter in the Animator, a boolean that is "true" when a shooting animation is playing (to stop the game logic from allowing more shooting during a gun recoil ...
0
votes
0answers
36 views

3D model editor manipulators

I'm trying to make my own 3D model editor to better learn 3D programming. I have my translate manipulators and I'm trying to calculate the Vector2 that the mouse would have to move in order to move an ...
1
vote
0answers
64 views

Frequent stuttering, high FPS spikes with VSync option turned on in Unity standalone build

I'm experiencing an issue using Unity 4.3.2 and standalone builds. If I turn on VSync in the project's Quality settings, running the game at the native monitor resolution, I'll frequently get high ...
8
votes
4answers
342 views

Infinite 3D Cave in Unity

A friend and I are hoping to make a game in Unity in which you fly through an infinite 3D cave that can twist and wind in any direction (though obviously not to the point that the turns are impossible ...
0
votes
1answer
65 views

How to create public Arrays of game objects so that they can be assigned through inspector

I am making a unity2D game. I need to declare public array of gameobjects so that I can assign them colliders, textures through inspector by drag n drop. Is there any way to do this? I am using c#. I ...
2
votes
2answers
56 views

Can I make a character solid but not lose non-physics behaviour?

My character can walk around in the world, but walks through other objects, for example a cylinder (stand-in for a cannon). To fix this I added a capsule collider to each of the character and ...
2
votes
0answers
28 views

How can I switch between texture atlases based on the iOS version?

How can I switch between atlases (with different resolutions) in Unity based on the runtime iOS version?
1
vote
1answer
294 views

Fog shader camera problem

I have some difficulties with my vertex-fragment fog shader in Unity. I have a good visual result but the problem is that the gradient is based on the camera's position, it moves as the camera moves. ...
2
votes
3answers
43 views

How can I reorient the axes of an object?

I spent some time in Unity yesterday trying to fire a sphere from a horizontal cylinder (like a ball from a cannon). I was using Vector3.forward, but the sphere kept coming out the top of the cylinder ...
1
vote
2answers
44 views

Can you adjust the proportions of a 3D model via scripting?

We are developing a game in Unity where the character is different ages in different levels. Would it be possible to use a single 3D model asset, and alter its proportions via scripting to achieve ...
0
votes
1answer
45 views

Variable Jump in Unity3d

I implemented variable jumping in unity for an endless running game. My question, how can I make the jump frame rate independent? My algorithm if ( keyDown ){ isJumping = true ySpeed += ...
-2
votes
0answers
32 views

Is there any free “Level Manager” Asset available which I can Use for my game? [closed]

I am making a game and want to implement levels lock unlock system. can I know some free assets that I can use for my game? Just Like the Mad Level Manager ????
1
vote
1answer
133 views

Alpha Blending: use the pixel with the smallest alpha

I'm writing a transparency shader where I need any intersecting textures to, wherever they overlap, take the texture pixel with the smallest alpha value and render only that, discarding the other ...
2
votes
1answer
62 views

Possible to create transparency shader which doesn't stack alpha values

The image above best demonstrates what I'm trying to achieve. It's a transparent shader for objects, but wherever the objects with this shader intersect they don't add together but simply merge with ...
-1
votes
0answers
41 views

How can I show a picture when the user presses a key? [closed]

I imported in my game project a picture for the map. I want the player to be able to see the map when they press a certain key during the game. How can I implement that?
-2
votes
1answer
133 views

How to make game menu in Unity using only the editor?

I am trying to implement a game menu screen in which all the levels are locked initially. Just like Angry Birds. When user scores he'll be promoted the level unlocks.
1
vote
0answers
37 views

SpotLight in ForwardBase pass using forward rendering

Is there anyway I can force Unity to allow me using a custom shader to render spotlights in a ForwardBase pass (using Forward Rendering Path)? For what I could see since now: Unity use and ...
-1
votes
0answers
32 views

How a game menu can be made easily without using paid plugins [duplicate]

I want to make game menu in which various stages are present, but they are locked unless user plays initial stages and earn score to make them open. I want to use swiping controls so the user can ...
0
votes
1answer
43 views

Playing an animation relative to current Transform in unity?

I have an animation created with the built-in dope sheet. It plays correctly but I would like it to be played relative to current object transformation. For example I have a palm tree that moves its ...
0
votes
0answers
32 views

Unity not updating sprite animations (possible bug)

I have a simple animation of a foot which i want to change sprites from one sprite to another, which is seen in the following two images: now as one can see in the animation timeline there is a ...