Unity is a highly cross-platform engine that focuses on easy art pipeline process and uses Mono as its scripting back end.
-1
votes
1answer
114 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
147 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
42 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 ...
0
votes
1answer
153 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
71 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 ...
2
votes
2answers
299 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
100 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
198 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
119 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 ...
11
votes
2answers
677 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
153 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
151 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
80 views
Vertex count for characters? [closed]
Can you guys please suggest the approximate vertex count that I should try to limit my character models to? I am thinking of using Daz characters; so I'll get an idea about how much to lower the poly ...
0
votes
1answer
104 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
92 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
284 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
85 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
128 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
63 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
123 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, ...
4
votes
1answer
126 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
73 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
156 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 ...
-4
votes
2answers
130 views
Recreating Need For Speed Underground's Olympic City for open-city racing [closed]
I've had an idea for a long time and am planning on executing it. Since I am a huge fan of older Need for Speed games (such as Underground, Underground 2, and Most Wanted (2005)), I want to try to ...
1
vote
1answer
105 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 ...
4
votes
2answers
189 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
104 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
280 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
211 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.
2
votes
2answers
94 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" ...
0
votes
1answer
67 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?
...
0
votes
0answers
243 views
Accessing Bluetooth data via SerialPort (Unity/C#)
So I'm working in Unity3D, programming in C#, and I heard that one can read data from a Bluetooth adaptor via SerialPort. I have several Bluetooth USB adaptors that I've tried to connect on my PC ...
6
votes
1answer
454 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
110 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
47 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
129 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
194 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
72 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
44 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
187 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
116 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
122 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 ...
1
vote
0answers
54 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
111 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
79 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, ...
-1
votes
1answer
353 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.
1
vote
0answers
25 views
UIToolkit VerticalScrollable dont hide when is moving
im experiencing a weird bug with the Vertical Scroller (mainly in iOS, but even in the Editor): when a vertical scroller is still "moving" (so when it'snt totally stop) it's impossible hide this ...
4
votes
2answers
181 views
Mixing threads and coroutines in Unity3D Mobile
I had a coroutine in Unity3D that downloaded a zip from a server, extracted it to the persistent data path, and loaded its contents into memory. The flow looked something like this:
IEnumerator ...
1
vote
1answer
105 views
Speech recognition and AI in language learning platform [closed]
I work for a publishing company that is looking to create an online virtual environment for English Language Learners.
We are keen to create something immersive (virtual 3D world) through which the ...
-1
votes
1answer
226 views
Unity: OnCollisionEnter not called
I created a sphere object, added a rigidbody component (no kinematics) and attached a script to it like this:
function Update () {
}
function OnCollisionEnter(collision : Collision) {
...

