Unity is a highly cross-platform engine that focuses on easy art pipeline process and uses Mono as its scripting back end.
2
votes
1answer
62 views
Best way to go with 3D dungeon crawler generation
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
votes
0answers
57 views
Should I use Java, HTML5, or Unity 3D for my Game? [closed]
I am developing a game and I would like the game to be available on the iPad, Android Tablets, Mac, and Windows. I've already began developing the game in Java, which will ensure support for the ...
-1
votes
2answers
74 views
Move object to position using velocity
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
0answers
33 views
Unity Shader GrabPass alternative
Is there an alternative for the heavy GrabPass method ?
Is there a solution to avoid the foreground issue ? I mean when using GrabPass, if the refracted object is in front of the bumpy refractor, he ...
3
votes
1answer
66 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 ...
1
vote
2answers
65 views
Ignoring collisions without using physics layers
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 ...
-2
votes
1answer
77 views
Giving the update function a history
I am using Unity but this is an issue, that can be applied to every programming language.
I only have one Update-Function.
function Update ()
{
}
This function runs each frame. If I want to ...
1
vote
0answers
33 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" ...
1
vote
1answer
58 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
...
3
votes
1answer
115 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 ...
0
votes
2answers
169 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 ...
-6
votes
0answers
43 views
What's happening with Unity boards? [closed]
I've recently run into the same image when trying to read any posts from the Unity boards, stating that "something went wrong" (which is not descriptive at all).
Is there some maintenance update ...
-1
votes
0answers
36 views
Odd errors w/ disabling game objects with C Sharp in Unity
I'm having problems with properly disabling game objects in Unity. Right now, they're disabling, but I get a "NullReferenveException" error whenever the first object to be disabled is disabled.
The ...
1
vote
2answers
183 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 ...
-1
votes
0answers
40 views
Unity game engine javascript pickle [closed]
I want to import my nearly-ready game scene from Blender to Unity. I have my own format to store my data from the game worlds.
I serialised it with Python's pickle module, because I couldn't find (I ...
-1
votes
1answer
57 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
56 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 ...
-1
votes
0answers
26 views
Access music folder on Android using Unity [closed]
have some way, plugin, or code, to select and play musics from android on Unity ?
Thanks =)
2
votes
2answers
112 views
What needs to be done to port a Windows Flash game to Android?
My team has developed a game using Flash (with Lua embeded) that targets Windows. And we want to port that game to Android (also iOS in the future).
It's acceptable to rewrite the Flash part of ...
0
votes
0answers
16 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 ...
-1
votes
1answer
83 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 ...
0
votes
1answer
78 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.
...
-1
votes
0answers
102 views
AI for mass battles in Unity [closed]
I'm looking at building a game where there are many large battles controlled in an RTS like way. When I say large I'm talking 100's in the battle in multiple teams. My question is what is the best way ...
0
votes
0answers
43 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 ...
2
votes
1answer
163 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 ...
2
votes
1answer
84 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
68 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 ...
0
votes
1answer
58 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 ...
5
votes
1answer
94 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 ...
4
votes
0answers
77 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 ...
0
votes
3answers
83 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
86 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
73 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 ...
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
122 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 ...
-2
votes
1answer
63 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
42 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:
...
-4
votes
1answer
68 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
3answers
143 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
86 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
51 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 ...
11
votes
1answer
365 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. ...
0
votes
0answers
41 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 ...
-1
votes
2answers
165 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 ...
-1
votes
1answer
130 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 ...
3
votes
1answer
71 views
Stitching meshes together
I have a voxel engine that generates a mesh per chunk and now I want my meshes to be 1 mesh, but if I create them as a single mesh I kind of lose the benefit of chunking the data in the first place.
...
4
votes
0answers
153 views
Producing a smooth mesh from density cloud and marching cubes
Based on my results from this question I decided to build myself a 3D noise map containing float values in place of my existing boolean point values. The effect I'm trying to produce is something like ...
0
votes
2answers
286 views
Is it possible to make isometric game of 200 * 200 tiles per map in Unity? [closed]
We made an isometric game in AndEngine. Now we want to convert this game into Unity. I am searching for tiles map support/plugin in Unity. I come across a plugin called Map and nav ...
-1
votes
1answer
110 views
Server Based High Scores
I'm currently using the following MySQL example to make a server side high score table: Unity Server Side high score
The above example allows me to create a top 5 player high score table that sorts ...
1
vote
1answer
145 views
A.I. dependencies based on components
I'm working on a turn based game in Unity. I need to perform field/grid analysis(2D grid) when i'm iterating trough each unit "entity". The A.I. should be able to plan ahead and therefor needs to ...

