Unity is a highly cross-platform engine that focuses on easy art pipeline process and uses Mono as its scripting back end.
0
votes
1answer
73 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
...
2
votes
3answers
1k views
Parse/Write JSON with Unity iOS
anybody know a tutorial or maybe can help me to develop a parser/reader for JSON compatible with Unity iOS pro? I've already tried different third part libraries but without luck (i've tried json.net, ...
0
votes
0answers
65 views
What would be the best mean for a gui with a lot of FX in Unity
The game I am working on (we are in R&D) is based almost exclusively on a windowed gui with a lot of FX (fading, growing, etc). We will also likely need custom widgets (like a sound recording ...
4
votes
1answer
117 views
How to transform mesh components?
I am attempting to transform the components of a mesh directly using a 4x4 matrix. This is working for the vertex positions, but it is not working for the normals (and probably not the tangents ...
0
votes
3answers
1k views
How do I make a fiery particle system?
I added a particle system to the flame-emitting object in my Unity scene. But it's just little white balls, and I can't figure out how to make it fiery.
Anyone?
Everything I see on the internet ...
1
vote
3answers
199 views
Opening an XML in Unity3D when the game is built
At the moment, my game can open up an XML file inside the editor when I run it. In my XMLReader.cs I'm loading in my file like so:
_xmlDocument.Load(Application.dataPath + ...
1
vote
0answers
55 views
How do I stop movement from being mirrored on the X and Y axis with Unity & Kinect?
I have made a scene and avatar in the scene, put all of the correct joints on the Open NI Skeleton, but the outcome is not only mirrored on the x-axis, it is also on the y-axis.
So, when I lift my ...
1
vote
2answers
1k views
Unity Android: Truecolor texture performance hit and alternatives for truecolor
After integrating the graphics assets to my application, I noticed that when the textures are compressed they look very bad compared to truecolor. This happens to all the textures and it did not seem ...
-1
votes
2answers
131 views
How to transform gameObjects in array? [closed]
I have an array of available gameObjects in the scene. An array of GO should be transformed according to received floats through UDP connection. I know it is simple, but can't figure it out how to ...
0
votes
0answers
48 views
OSG import to Unity3D
I started to reimplement an old (students) project with Unity 3D.
The problem I am currently facing is the import of the assets. Since the old project was a couple of years in the past the original ...
3
votes
1answer
605 views
How to make a iOS plugin for Unity3d
I've passed last 2 days reading articles and book for understand how can i make a plugin for iOS in Unity. Basically i need just a demo for understand how it work. For now i've tried to make this ...
0
votes
0answers
555 views
Cutting objects and applying texture to cut. Unity3d/C#
Basically what I'm trying to do is figure out how to calculate realtime cutting of objects, and apply a texture to the cut. I found some good scripts, but most of them have been abandoned and aren't ...
2
votes
1answer
237 views
adapting a Unity gravitational script to allow moons
I'm using this script: http://wiki.unity3d.com/index.php/Simple_planetary_orbits
to get a solar system going in Unity, but it doesn't seem to support creating bodies that orbit other moving bodies ...
0
votes
0answers
130 views
Multiple Audio listeners in Scene
THIS IS UNITY
Im trying to make a FPS game over networking, it works fine.
But now, when im trying to implement sound, it won't work.
My guess would be, to add a Audio listener to the prefab, that ...
4
votes
1answer
179 views
How to use the float value from noise function in voxel terrain?
I'm using Unity, although this question is not really specific to that engine.
Im also using an asset from the store called Coherent Noise. It has some neat noise functionality built it.
I am ...
3
votes
0answers
478 views
Unity: how to apply programmatical changes to the Terrain SplatPrototype?
I have a script to which I add a Terrain object (I drag and drop the terrain in the public Terrain field).
The Terrain is already setup in Unity to have 2 PaintTextures: 1 is a Square (set up with a ...
0
votes
2answers
274 views
Unity scaling instantiated GameObject at Start() doesn't “keep”
I have a very simple scenario:
A box-like Prefab which is imported from Blender automatically (I have the .blend file in the Assets folder).
A script that has two public GameObject fields. In one I ...
6
votes
4answers
779 views
The underlying mechanism in 'yield return www' of Unity3D Game Engine
In the Unity3D game engine, a common code sequence for getting remote data is this:
WWW www = new WWW("http://remote.com/data/location/with/texture.png");
yield return www;
What is the underlying ...
1
vote
3answers
2k views
How to use NGUI with Unity
I feel like Im missing something really simple, but Ive read about all the events NGUI can generate from an object and just dont get where to recive (or handle) the event. Do I just attach it to a ...
-2
votes
1answer
218 views
How to develop a water fluid dynamics application? [closed]
I want to develop a Fluid Water Application on IOS which I can drop some colors and mix them. In which framework I can get more support? Which one is better?
-4
votes
2answers
79 views
can't spot the error. Trying to increment [closed]
I really can't spot the error, or the misspelling. This script should increase the variable currentTime with 1 every second, as long as i am holding the Space button down.
This is Unity C#.
using ...
1
vote
1answer
391 views
Custom inventory items based on inheritance
So, here's the scenario:
I'm building an RPG. Like most of the other RPGs on the market, my game will feature an inventory and of course, inventory items. So far I've worked well with using a single ...
2
votes
1answer
183 views
How does Against The Wall create an infinite wall?
There is a game called Against The Wall, developed by Michael P. Consoli. It's a fantastic game, as I've always been stumped at how the game creates an infinitely spanning wall.
In the game, you can ...
0
votes
1answer
271 views
Maximum number of controllers Unity3D can handle
I've been trying to find out the maximum amount of xbox controller Unity3D can handle on one editor. I know through networking, Unity is capable of having as many people as your hardware can handle. ...
0
votes
2answers
104 views
Adding Vertices to a dynamic mesh via Method Call
I have a C# Struct with a static method, "Get Shape" which populates a List with the vertices of a polyhedron.
Method Signature:
public static void GetShape(Block b, int x, int y, int z,
...
0
votes
3answers
2k views
Cry Engine 3 vs UDK [closed]
Me and a bunch of guys from my University are thinking about getting started in game development, but, even though the game design is kind of ready, we are stucked at the point "which Engine should we ...
0
votes
1answer
1k views
How to add isometric (rts-alike) perspective and scolling in unity?
I want to develop some RTS/simulation game. Therefore I need a camera perspective like one knows it from Anno 1602 - 1404, as well as the camera scrolling.
I think this is called isometric perspective ...
1
vote
2answers
189 views
How to get a Read-Write Reference to Parent GameObject from a script component attached to it?
I have a game object(object) with a script component(myscript) attached.
I have a reference to myscript component through getComponent, and I want to change the transform of the gameObject the script ...
1
vote
1answer
554 views
Problem animating in Unity/Orthello 2D. Can't move gameObject
I have a enemy npc that moves left and right in a corridor.
It's animated with 2 sprites using Orthello 2D Framework.
If I untick the animation's play on start and looping, the npc moves correctly.
...
-1
votes
1answer
52 views
Unable to Call Instantiate in Class Member Function
The following javascript is attached to a gameObject.
var instance : GameObject;
class eg_class {
function eg_func(){
var thePrefab : GameObject;
instance = ...
0
votes
0answers
124 views
Restricted pathfinding Area
So i'm triying to create a little "XCOM : Enemy Unknown" like game ,and using the Aron Granberg's
Pathfinding-Tool (free version) to handle the "click to move part.
i want to add a little trap system ...
0
votes
2answers
177 views
Why does my model render differently than its preview?
I've been importing .fbx files that I made with 3DS Max 2012 into Unity, and it's quite neat to see my models running around in game. However, I can't help but notice that the models, as they're ...
-1
votes
2answers
291 views
Making a game engine or using Unity3D? [closed]
I was wondering, which one would benefit me the most? I have as much time as I need to make a game engine and rapid development does not appeal to me. Unity3D is easy, but how much will mastering ...
5
votes
2answers
881 views
Why does Unity3D crash in VirtualBox?
I'm running Unity3D in a virtual instance of Windows, using the Virtual Box software on Linux. I have guest additions installed with DirectX support. I've tried using Windows XP SP3 32-bit, and ...
1
vote
1answer
303 views
Unity3d: Box collider attached to animated FBX models through scripts at run-time have wrong dimension
I have several scripts attached to static and non static models of my scene.
All models are instantiated at run-time (and must be instantiated at run-time because I'm procedural building the scene).
...
1
vote
1answer
187 views
How to get a point to the left/right of a vector
I have a position vector of a point in space and a quaternion for it's rotation. What i'm trying to calculate is a point too the left and a point to the right.
I have the position and ...
5
votes
1answer
504 views
Why doesn't Unity's OnCollisionEnter give me surface normals, and what's the most reliable way to get them?
Unity's on collision event gives you a Collision object that gives you some information about the collision that happened (including a list of ContactPoints with hit normals).
But what you don't get ...
0
votes
0answers
168 views
Unity3D - Projection matrix camera frustum
I've used off centre projection to create a custom projection matrix for my camera.
When I run the game I can see the scene correctly in the game view but in the editor view the camera frustum is not ...
0
votes
2answers
194 views
Why does unity obj import flip my x coordinate?
When I import my wavefront obj model into unity and then draw lines over it with the same coordinates in the obj file, the x coordinate is negated.
I don't see any option in the importer that might ...
2
votes
1answer
248 views
detect asset change while running in unity editor?
Is it possible to detect asset change while running in the unity editor. When I update my model, I see it change but the xml data associated with it does not change. So it would be nice to detect ...
1
vote
1answer
631 views
Unity Particle System collision detection problem
I'm using Unity 3.5.5f3 wich has the Shuriken particle system.
I've made a blood particle system based on Unity's demos. (Exploding paint [Blood])
The blood is flowing and when it collides with a ...
-2
votes
1answer
104 views
Unity3D map form cubes [closed]
Hello there i need to build small destroyable map from 15x15x5 cubes
i'm completley new in unity and i'll be very grateful for any advice
0
votes
1answer
114 views
Unity 5.1 audio issues (no sound in back channels)
I've trying to bring in surround sound audio into my project. I've set my computer up to run in 5.1 and when I play a 6 channel audio through windows media player (it's a test audio that does left ...
0
votes
0answers
180 views
Unity Frustum Culling Issue
I'm creating a game that utilizes off center projection. I've got my game set up in a CAVE being rendered in a cluster, over 8 PC's with 4 of these PC's being used for each eye (this creates a ...
5
votes
1answer
201 views
Dynamic Components
I am attempting to design a component-based architecture that allows Components to be dynamically enabled and disabled, much like the system employed by Unity3D. For example, all Components are ...
1
vote
1answer
676 views
Rotate to a set degree then stop Unity [closed]
I'm trying to make an object rotate up on the Y axis 90 degrees, then stop. I've got the rotating up bit working fine, it's getting it to stop once it hits 90.
Some of the things I've tried include ...
4
votes
1answer
717 views
Custom shadow mapping in Unity 3D Free Edition
Since real time hard and soft shadows are Unity 3D Pro only features I thought I will learn Cg programming and create my own shadow mapping shader. But after some digging I found that the shadow ...
0
votes
1answer
259 views
How to pass an interface to Java from Unity code?
First, let me say that this is my first experience with Unity, so the answer may be right under my nose. I've also posted this question on Unity's answers site, but plugin questions don't seem to be ...
0
votes
0answers
112 views
Why is my arrow texture being drawn in odd places? [closed]
This is a script I wrote that places an arrow on the screen, pointing to an enemy off-screen, or, if the enemy is on-screen, it places an arrow hovering above the enemy. Everything seems to work, ...
-1
votes
2answers
319 views
Android - Unity3D: setVisibility(View.VISIBLE) crashes
I have a unity project and I use a Android (java) plugin to get camera data. I draw this on a TextureView. I want to hide/show this view when I press a button in unity. But my app crashes when I ...
