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
57 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
1k 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
249 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
2k 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 ...
3
votes
1answer
249 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. ...
5
votes
1answer
1k 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 ...
1
vote
2answers
2k 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
354 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
214 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 ...
0
votes
1answer
210 views

Unable to manipulate Imported Object menu (Unity)

I've imported a model, but for some reason I can't edit any settings under the Imported Object menu, such as the Mesh Filter or the Mesh Renderer. See this: http://i.stack.imgur.com/t7ZYR.png for a ...
1
vote
1answer
2k views

How to do Triplanar Texturing

Ok maybe i'm missing something because its getting late and i've been programming now for about 72 hours straight (minus a nap or 2) ... I'm trying to write a shader for unity that will apply ...
0
votes
1answer
296 views

Level Modeling Workflows in Maya for Unity

I'm wondering what the standard workflow for modeling static levels for Unity (or for that matter, other High-Level engines) is? My somewhat limited knowledge tells me that the best process is ...
3
votes
2answers
3k views

Understanding marching cubes and voxel data relationships

in case it matters i'm doing all this in unity with C# ... I think I missed something or maybe don't understand the logic correctly. I have an existing voxel engine that looks very "minecrafty" at ...
2
votes
2answers
600 views

Relative cam movement and momentum on arbitrary surface

I have been working on a game for quite long, think sonic classic physics in 3D or tony hawk psx, with unity3D. However I'm stuck at the most fundamental aspect of movement. The requirement is that I ...
1
vote
4answers
438 views

Maintaining frame rate while using many High Resolution models

I have shelves "made of" steel rods as a 3D-file. So a lot of virtual metal rods make up a cage. When cloning this in unity a few times even my fast computer can only show this in a choppy way. But ...
3
votes
2answers
527 views

Discover x,y coordinates given set arc distance and rotation

I have a turn-based car simulation. My vehicles have a maximum speed they can travel in a round, as well as a maximum amount they can change their heading over the course of a round. Say, 20 meters ...
13
votes
2answers
3k 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 ...
3
votes
1answer
859 views

How to optimise mesh data

So i have some procedurally generated mesh data and i want to reduce it down to its minimum number of verts. In case it matters this is a unity project. Working on the basis of a simple example, ...
-1
votes
1answer
355 views

Asynchronous Game server [closed]

I am building an asynchronous multiplayer game (which can be compared whith a chess game) with Unity (up to 4 players in game). But I am stuck at choosing the server side solution. For me this kind of ...
0
votes
1answer
425 views

Puzzled about game mods

I'm new to game development. I was thinking of different ways to create a game. I discovered Unity3d as much preferred indie game engine and yet so powerful. Then I read about game mods, which I found ...
1
vote
1answer
360 views

Defining a random irregular shape in a bool array

I need to find out how to populate an array bool[x,y] with a random filled shape. lets say I want a triangle depicted in my array i would define an area within the array and set all points to "true" ...
4
votes
1answer
506 views

Why game engines usually don't offer a vector3.rotate method? [closed]

Game engines like Three.js, Ogre3d and Unity3d often don't provide a default rotate method on their vector class. You usually have to do something like: rotated = vector.applyQuaternion( new ...
1
vote
1answer
485 views

How to Animate a Mechanical Model to work with Unity's Mechanim?

I made a relatively simple model in 3D Studio Max to be used in a game. It's a simple stationary laser turret with an openable maintenance hatch. I want to use Mechanim to handle the animation states. ...
2
votes
1answer
1k views

Pausing and resuming in Unity

I've been writing this code quite late so please bear with me. I'm trying to pause the game and show a menu when I'm inside a collider and then when i press a key it should unpause the game and ...
1
vote
1answer
170 views

Can Cruncher crunch Daz models?

I have a number of Daz 3D models that I would like to use in my Unity shooter game. The only problem seemed to be the high poly count of the Daz models. However, I just came across the Cruncher ...
1
vote
1answer
283 views

Player positions in a race game through arrays or…?

First time posting on these forums so go easy on me! I've been programming a race game which has been going quite well. I've just discovered now how hard it is to set up player positions!(As in 1st, ...
5
votes
1answer
374 views

Why does this Unity code work as expected only with the while loop?

In unity, in C#, I have the following code in Awake(): Awake() { Transform obj = InstantiateTarget(); //the bizarrely required and "working" loop while (transform.childCount > 0) { ...
0
votes
1answer
203 views

Lerp an object based on timers

I'm trying to make a target lerp between two objects based on a timer. At the moment, I have the following code: float distCovered = (Time.time - waitTime) * speed; float fracJourney = ...
1
vote
2answers
404 views

How to get characters to be aware that their path is obstructed?

I'm using Unity with Arongranberg's A* pathfinding project to move my characters. However, it appears that my characters are contending for a position on the terrain when they are told to move ...
1
vote
1answer
327 views

Unity3d iOS: unable to find iPhone_GlesSupport.h [closed]

i've an old unity project and i've tried it just today (with unity 4.1) and xcode 4.6. Xcode is unable to build it for the error: "iPhone_GlesSupport.h" file not found. Im pretty a noob under xcode ...
3
votes
2answers
1k views

Displaying (3D) objects' name above them

The Elder Scrolls: Morrowind has a rather interesting way to display each focused objects' name. It's all a bit fuzzy in my memory right now, but the most important part I remember perfectly: the ...
0
votes
1answer
926 views

'No Platforms Found' error in Unity Android

I am having a problem with Unity Android - every time I try to "build", a 'No Platforms Found' error pops up. Thing is that I already have Android SDK in my computer (copied it into my G drive from ...
1
vote
2answers
5k views

Creating offline multiplayer Android games with Unity

Is it possible to create offline multiplayer Android games with Unity (played over bluetooth/ wi-fi)? If so, then I would like to create a 2 player game prototype, containing a single room (empty ...
2
votes
4answers
314 views

Can I transfer C# coding I do in Unity for practice to another 3d engine?

If I use a C# coding in Unity 4, can I transfer that coding into another non-Unity engine as long as it accepts C# too? I hope this question makes sense. Thank you in advance.
3
votes
2answers
241 views

Moving character on x axis

I am new to unity scripting. I am trying to move my character towards right side(on x-axis) to create a running effect, I've imported the character from blender which contains two animations, "jump" ...
1
vote
1answer
807 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? ...
7
votes
1answer
2k views

How to create high quality and fast portal effect?

EDIT: So I've gotten the portal visual effect working with no performance hit, and I've got the physics set up of objects with rigidbodies moving through portals seamlessly, and objects with character ...
1
vote
1answer
221 views

Spawning enemies at way points [closed]

I'm trying to have my game spawn enemies when ever the player reaches a way point. Right now, I have this functionality working. When my player gets to the first way, the enemies spawn. He only moves ...
0
votes
1answer
121 views

Would a custom mod built for RakNet be automatically usable with Unity?

Context: I'm interesting in developing a security module for servers that handle mobile games, and I'd like it to be usable by the most people possible. So I'm trying to decide what server software I ...
0
votes
1answer
619 views

Using 4096*4096 background image in uinty tk2d

I am new to Unity and I am developing a game using unity its a 2d game i am using tk2d framework. I have a big background image(4096*4096) how can I load this background so only visible part of the ...
3
votes
3answers
2k views

Getting correct angles between Vector3s

I'm working on a project where you can draw lines between points. You select one point and drag the mouse onto another point and a line is drawn between them. The line itself is a 3d object which is ...
0
votes
1answer
145 views

Gravity/collision problems: models jumping

I'm pretty new to Unity3D game engine and game development, so don't judge me strictly. I import a model of the rail track, add rigid body component (with mass 1 and use gravity flag) and box collider ...
1
vote
1answer
283 views

unity3d nullreferenceexception [closed]

i want to display a mesh sequence so i imported my obj files and found a script and partially edit it a bit.My project looks like this: the script is this: using UnityEngine; using ...
-1
votes
1answer
350 views

I want to start making 2D Games with C++ or #C [closed]

I know C++ pretty well, I think - polymorphism, vectors, templates, and more. I also know C#. I want to program a 2D game, but not like those programs where you click a button or two, and you ...
-2
votes
2answers
292 views

What knowledge do I need to learn Unity? [closed]

What do I need to get into using Unity? Do I need some knowledge in any language in particular? Can I just get to know the program with tutorials? What would you recommend?
3
votes
1answer
2k views

Rotate object to always face camera

I'm trying to make a TextMesh appear when ever an enemy prefab is hit. I currently have this functionality working. However, the text doesn't face the direction the players camera is looking. At the ...
2
votes
1answer
130 views

Mixing animations

I'm working on a swing animation and mixing it with a turn animation in a motorcycle game. The issue is that for the swing animation to work while turning only the swinging arm has to animation, ...
0
votes
1answer
369 views

Quit the application when clicking cancel button of Alert View in C#

Can someone guide me as to how can I make an application quit when you press the cancel button of an Alert View in C# code? Thanks I forgot to add that I am trying to quit application on clicking ...
0
votes
1answer
150 views

Dynamic model scaling

Imagine a (3D) game like Railroad Tycoon 3. Player selects a rail track, clicks LMB and drags the mouse to the end position. During this drag, the rail track model scales and adopts to the landscape, ...
0
votes
1answer
4k views

Voxel terrain engine [closed]

Is there some voxel frameworks or extensions for game engines like Unity? I really need a system to dynamically generate voxel ruinable terrains.