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)

5
votes
2answers
415 views

How to make a fan like behavior

I am making a game in Unity. I have an object e.g. cube. I want to release air from it like fan so that when other cubes come closer, it throws them away. What velocity,force etc I will need to do ...
3
votes
1answer
250 views

Does Unity's “Transparent Bumped Specular” translate to “semi-shiny must be semi-transparent”?

Unity's documentation for the "Transparent Bumped Specular" shader/material-type is simply a concatenation of each of the descriptions for its Transparent and Specular Shaders (and also Bumped, but ...
1
vote
1answer
155 views

Best way to go with 3D dungeon crawler generation [closed]

I'm trying to prototype a little 3D dungeon crawler. That is, the same system as any rogue-like : A map with little rooms, linked by hallways. But in 3D. The world is still in blocks, but I can go ...
1
vote
2answers
81 views

Ignoring collisions without using physics layers [duplicate]

Trying to ignore collisions between certain prefabs, but in this case I don't want to use layers since these are specific object pairs that I want to not collide, and creating a layer for each prefab ...
-1
votes
2answers
102 views

Move object to position using velocity [duplicate]

I'm trying to make a simple object move to a desired location using its velocity. But I'm having trouble with it over shooting its target. I have to use velocity, I can't simply lerp the position, ...
0
votes
1answer
86 views

Mouse Aiming Causing Rotation Jitter

When our game's ships move around, mouse aiming causes them to shake around a lot. The body being aimed is moved kinematically. I think we've narrowed it down to this block of mouse tracking code. ...
3
votes
1answer
72 views

What are some strategies for handling a zoomed out grid of sprites?

I'm writing a grid-based 2D game in Unity3D that would ideally use grid sizes of around 200x200 or so, with multiple zoom levels, including all the way out. When I tried render a 200x200 grid at the ...
0
votes
2answers
256 views

2D Water Shader

I am trying to build a 2D Water shader and I am using Unity but the plateform isn't a problem. Here is an example of what I am trying to reproduce : Limbo water shader Are there any good tutorial or ...
19
votes
4answers
1k views

Teamwork in Unity

I have a Unity project without any version control, and I need to share it with another developer so that both of us can work on the project. Do you recommend any version control that will play well ...
1
vote
1answer
82 views

Get MonoBehaviour components from Prefab

I need to assign the script values for the following Prefab in Unity 3.5 The structure is the following Kinect_Prefab -MonoBehaviour ·Script: Missing Mono Script -MonoBehaviour ...
1
vote
0answers
43 views

Move parent according to child axis in Unity?

Can I ask my parent to move according to the child axis? This means if I turn right, then right again, the parent has to be at 180° from its original position, and not only at 90° (because "Right" ...
3
votes
1answer
158 views

Aim prediction along a parabola - How to make a Tower Defence Mortar aim accurately

I am building a very basic tower defence game in Unity3D where one tower is your standard long range mortar/artillery. I want the projectile it fires to follow a parabola curve to make its movement ...
1
vote
2answers
247 views

How do I create a “flying through space” effect?

On the Final Destination stage in Super Smash Bros Brawl (and SSB Melee) the players fight on a platform seemingly moving through space: I see particle effects, but I don't understand how they made ...
2
votes
1answer
167 views

Unity3D custom camera matrix breaking shadows/lights in deferred rendering

EDIT 1: So it seems this is a common issue with Unity, and it comes from a bug in which custom camera matrices break deferred lighting and shadows. This topic right here talks about it a bit, but the ...
-1
votes
1answer
65 views

Looking for pre-broken models/meshes for use in a unity project [closed]

Hi guys for my final year project I'm working on comparing the difference between a few destruction techniques for a game environment, based on looks and computational efficiency. I intend on ...
0
votes
1answer
88 views

Unity + Kinect - Current, and active wrapper options? [closed]

What are some current wrapper solutions for using the Kinect with Unity? The initial primesense one seems not to be in active development. I'm aware of the Zigfu one, however are there any ...
0
votes
0answers
17 views

Change TargetGlesGraphics at runtime

anyone know if it possible change TargetGlesGraphics via script? I've seen that it's an Editor class, so im not so sure that is possible, but i'd like to ask anyway. This can be useful if u need to ...
10
votes
1answer
352 views

Rendering Unity across multiple monitors

At the moment I am trying to get unity to run across 2 monitors. I've done some research and know that this is, strictly, possible. There is a workaround where you basically have to fluff your window ...
-1
votes
1answer
146 views

Using Unity3D from within Eclipse

Is it possible to use Unity3D from within Eclipse? I've seen that I can import a Unity3D project into Eclipse, but I cannot seem to be able to access classes such as Terrain or Ray. I don't know if ...
15
votes
6answers
3k views

Algorithm for creating spheres?

Does anyone have an algorithm for creating a sphere proceduraly with la amount of latitude lines, lo amount of longitude lines, and a radius of r? I need it to work with Unity, so the vertex positions ...
1
vote
3answers
381 views

Randomly placing items script not working - sometimes items spawn in walls, sometimes items spawn in weird locations

EDIT: I changed some code after getting advice from colleagues. However it still has problems occasionally, though the problems aren't as bad or frequent. Here's the new code I'm actually using: ` ...
2
votes
2answers
183 views

Unity: Is there a way to edit a Skin file?

My project has multiple skins and sometimes we have to deal with skins with many custom styles. Editing them in the editor is difficult, for instance, I cannot delete one style that is not the last ...
0
votes
0answers
60 views

Create torch flame from particles unity 4

I am using unity4 and the Shuriken particle system to try and create a flaming torch. I have tried the prebuilt flame prefab that comes with the package but cannot seem to find a way to adjust the y ...
0
votes
1answer
78 views

Animated rig improperly imported, unsure how to fix [closed]

In the following screenshot I have the elbow of a rigged human model in 3d studio max, as you can see it looks natural: http://i.imgur.com/CFozg.png Here it is in Unity: http://i.imgur.com/ltGib.png ...
0
votes
1answer
82 views

Issues with Sine Wave Generation and Rotation

I'm working on generating objects in sine wave that lets you specify parameters that are start x, end x, start y, and end y position. Below is the method that I used to generate the debris void ...
2
votes
1answer
129 views

Unity3D How too write to the back buffer AFTER the final pass of deferred rendering

I've been using this script and shader from the wiki, and they work wonders; my only problem is using them in deferred rendering. Now, the way this shader works is by writing to the depth buffer to ...
3
votes
2answers
113 views

Playing different particle effects in Unity on the same ParticleSystem

The question really sums it up: What is the best way to use one particle system for playing different particle effects? The scenario: GameObject is picked up and it starts playing a simple indicator ...
4
votes
1answer
906 views

C# graph library to be used from Unity3D [closed]

I'm looking for a C# graph library to be used inside Unity3D script. I'm not looking for pathfinding libraries (I know there are good one available). I could consider using a path finding library ...
5
votes
0answers
115 views

UDK or Unity Dynamic Runtime Mesh Boolean subtraction (or alternative)

I'm new to 3D game dev and was wondering if anyone could help me out. I'm planning to use UDK and would like to have deformable items in the world. So a projectile strikes a target, and a dent or ...
5
votes
1answer
129 views

Mip Maps on 2D Sprite causing black line above. Why is this?

I am new to Unity. I'm trying it out and using Futile for a code-first approach, but still importing textures using the Unity system. The problem I'm having is that when I use mip maps to scale large ...
0
votes
3answers
91 views

Keeping raycast on the same level

I want my raycast to end at certain height(red line). But as the game is 3D and the camera rotates I can't use a fixed magnitude. What I thought was a stroke of genius, I figured I'd project the ...
2
votes
1answer
88 views

Rotation independent rotation

I came up with some cube rotating, but I could not make it smooth and easy to use because as the cube turned - the keys that handle the turning changed their purpose. Link to demo. The demo rotation ...
1
vote
1answer
84 views

Weapon as camera's child, rotation messed up

I put my weapon as a camera child, it works, but when i rotate my player it seems the weapon rotate a little too. I'll attach some images so you can see it. As you can see, when i look up i ...
0
votes
1answer
85 views

Unity3d how to show an image downloaded from HTTP

I am bit new to Unity3d. I am fine with any solution either of the scripts. Can we render an image in unity3d (which we have to download from HTTP path)? If yes then how or do you have any reference? ...
2
votes
3answers
1k views

How do I get this effect in Unity3D?

Here is a mockup of a main menu screen I'm trying to put together in Unity. I'm clueless as to how I should go about creating the blue glow on the left of my menu options. Can somebody point me in ...
1
vote
0answers
39 views

Translating an object with a joypad

I'm trying to move a 3D plane with my mouse joysticks. At the moment my code, inside the Update method, is as follows: xMin1 += Input.GetAxisRaw("LeftRight"); yMin1 += Input.GetAxisRaw("UpDown"); ...
2
votes
1answer
147 views

Inventory View Screen

Looking to create an inventory screen in Unity, and trying to think of the best way to do it. My current line of thinking is having a few rows of squares for inventory items that are drag and ...
-4
votes
1answer
93 views

Adavanced AI with waypoint system [closed]

I'm just asking for an AI script. What I pretty much need it to do is to allow the enemy to patrol an area, and once the player hits its aggro bar, it will chase him/her until the player runs away; ...
-2
votes
1answer
69 views

I whant the ball to change angle when it hits the bumper in blockbreaker [closed]

I am making a simple blockbreaker game and i what to make the ball change angle when he hits the pad. i am using3d unity and coding in JavaScript. function Update () { if(manager.isOn == true){ ...
0
votes
1answer
50 views

Attach Transform to another GameObject

The scenario I am trying to accomplish is attaching a turret to a mount point on a ship. I have gotten as far as bringing in the prefab and assigning it as a child object with the following code: ...
2
votes
3answers
188 views

InputManager in Unity

I´m having a rough time trying to figure out a proper way of dealing with key mapping and key bindings in unity. The built-in unity input manager is useless to me since it doesnt support key mapping ...
1
vote
1answer
98 views

“lerp” returning value (Shader)?

I don't understand the lerp example in this code : if(dot(WorldNormalVector(IN, o.Normal), _SnowDirection.xyz)>=lerp(1,-1,_Snow)) o.Albedo = _SnowColor.rgb; else ...
0
votes
0answers
52 views

Going from point a to b through a curve using “gravity” [duplicate]

I have enemies and when they die they spawn an energy ball with a given velocity. I want to move this ball to the player using "gravity" to create a curved path. I have a version of the function but ...
3
votes
1answer
640 views

Rushing water in unity

How would I go about creating a river with rushing water. I can do the texture around it but I'm stuck on the actual water part. This is in unity3d.
11
votes
1answer
407 views

Pathfinding on a uneven planetary surface

My question is what would be the best approach to pathfinding on an uneven planetary surface? Background Information I have created a planet from displacement mapping 6 sphere projected planes. ...
11
votes
2answers
731 views

How to blend two cameras when traveling through a portal in Unity3D

Before I get to my question, I know the most obvious solution would be to use the normalized view port rect, however I need more complex shapes than a rectangle, and I've looked in to using the view ...
-1
votes
2answers
216 views

Developing a 2D Android game on Unity - Pros and Cons [closed]

Depending on your experiences, if you have created a 2D game on Android using Unity, was it painful? Have you ever said "I wish I have used X instead of Unity!"? Tell me the Pros, Cons and the name ...
0
votes
0answers
51 views

Importing materials along with terrain from Bryce

I've created bunch of terrain in Bryce, and I've managed to import the most basic part of it without any fuss. However, anything more complex (mountains, etc) cannot be imported without the material ...
0
votes
2answers
603 views

Unity3D 3.5 pro - Moving the camera vs setting draw distance

I move the camera mostly via right-click + WASD, sometimes with [shift] if I want it to move faster. Occasionally, instead of moving my camera, it alters the draw distance / FOV / some visual aspect ...
-1
votes
1answer
144 views

Should I use a SQLite for this game? [closed]

I'm planning a board+trading card game. It's exactly the same game as Hero Academy, but with trading cards, and customisable decks. I'm in the Software Design phase, and I'm thinking about using ...

1 2 3 4 5 12