Unity is a highly cross-platform engine that focuses on easy art pipeline process and uses Mono as its scripting back end.
9
votes
0answers
269 views
How do I blend 2 lightmaps for day/night cycle in Unity?
Before I say anything else: I'm using dual lightmaps, meaning I need to blend both a near and a far.
So I've been working on this for a while now, I have a whole day/night cycle set up for renderers ...
4
votes
0answers
84 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 ...
4
votes
0answers
159 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 ...
4
votes
0answers
96 views
Can I use DllImport/PInvoke in libraries loaded as Assets in Unity Free?
I am interested in using utilising third-party libraries in Unity Free.
I know Unity can use managed libraries as Assets, but only the Pro version supports using native libraries. (DllImport within ...
3
votes
0answers
474 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 ...
3
votes
0answers
360 views
Any recommended books/resources on component-based design?
I come from a background with heavy use of the classical object-oriented paradigm for software development.
The company I am a part of switched to Unity not too long ago, and we're all very excited ...
2
votes
0answers
106 views
How to occlude lights in Unity3D?
First off, I own Unity Pro.
I've been looking in to occluding lights when they aren't being viewed for a while now to improve performance. The main methods I ran in to were using BecameVisible() and ...
2
votes
0answers
473 views
2D jerky motion with AddForce and physics
I have a problem smoothly motion - I see jerking when I am using physics and AddForce.
It's not a question related to Update or Time.deltaTime -
I created simple scene with few lines and sphere.
...
2
votes
0answers
272 views
Trouble with UV Mapping Blender => Unity 3
For some reason I am getting nasty grey edges around the edges of rendered 3D models that are not present in Blender.
I seem to be able to solve the problem by reducing the size of the UV coordinates ...
2
votes
0answers
163 views
The status of Unity networking code
I am new to unity world I want to inquire the status for networking script and tutorial which is available at unity site my question is:
Is that code is compilable as I have couple of times tried to ...
1
vote
0answers
34 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
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");
...
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, ...
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 ...
1
vote
0answers
82 views
How to play a movie on top of a webcam texture
I've been through the Unity docs, searched here, and on stackoverflow; I have not found any good information about using the WebCamTexture for my purposes. So here goes, how do I play a movie asset ...
1
vote
0answers
235 views
Unity - Mesh Deforms terribly while mixing animations
I have a simple game I'm working on to help me learn unity3d. In my Start() function, I've used the following code to set up my animations.
walkAnimation = animation["Walk"];
...
1
vote
0answers
140 views
Unity3d. Overlay of clothes on a human model
I have:
Clothes model (jackets, shirts, sweater etc. with various
sizes,colors)
Human model with dynamic height, width, position
Need overlay a model of clothes on a human model.
Variant with a ...
1
vote
0answers
58 views
Can UIKIT application co-exist with unity game in one application?
For example - I have a typical UIKit application with three buttons - one opens rss feed in tableview, second opens some gallery view. And third opens Unity 3d game.
Is it possible and how easy it is ...
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
0answers
178 views
5.1 sound in Unity3d 3.5
I'm trying to implement 5.1 surround sound in my game. I've set Unity's AudioManager to a default of 5.1 surround and loaded in a 6 channel audio clip that should play a sound in each of the different ...
1
vote
0answers
89 views
Long delays in Unity3D substance generation
Currently working on an iOS/Android project in Unity3d, and we're seeing some incredibly long times for generating substances between testing runs. We can run the game, but once we shut down the ...
1
vote
0answers
124 views
Virtual World Plaforms and Unity3d
I'm moving in the direction metaverse developing. A few years back I wandered around in Second Life and found it entertaining for a New York minute. Now, I'm set to plunge into the Virtual World/MMO ...
1
vote
0answers
149 views
Mesh deformation maya to unity
I have a model that has been modeled & rigged in Maya, whenever i export it as an FBX and take it into unity it seems to collapse at certain areas (see the attachments for a before and after). The ...
1
vote
0answers
222 views
Unity surf shader not rendering
I have created a default surface shader in unity and added a texture but it is not rendering. If i switch to a diffuse shader i see the texture but my shader is just black.
Shader "TestShader" {
...
1
vote
0answers
375 views
How can I use the dualforward parameter in my unity shader to use lightmaps and normal maps together?
I'm using the free version of unity and I would like to combine lightmaps with specularity and normal maps. After doing a -bunch- of research, I've figured out that there doesn't seem to be any easy ...
0
votes
0answers
38 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 ...
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 ...
0
votes
0answers
44 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
0answers
43 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
0answers
242 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 ...
0
votes
0answers
200 views
How to obtain a camera stream from Unity without rendering it to the player's screen?
I'd like to stream the output of two cameras to a separate process. Right now, it looks like the best way to do that is to grab the rendered camera views from the screen via platform specific screen ...
0
votes
0answers
65 views
Sceneview Lags when using Arrays
I'm getting a strange behavior here - when i create a simple C# script which holds an Array of classes, where both, the script class and the array classes, are marked as Serializable, my sceneview ...
0
votes
0answers
150 views
NavMeshAgent in Unity giving jerky performance
I am using NavMeshAgent in my Unity project to calculate and move my object to a particular location.
When I do:
navMeshAgent.destination = destinationPt
the object starts moving, but the motion ...
0
votes
0answers
94 views
How to Detects two markers at time using Vuforia SDK
I recently has been watch this Video, and this is good to know that its developed by qualcomm. I want to do same sort of project in Unity3d, I already have developed few apps using Vuforia SDK. Before ...
0
votes
0answers
214 views
Unity3D: collider performances on mobile iOS devices
I'm experimenting with Unity3D and colliders. Unfortunately I still don't have Unity Pro version and I can't use the profiler.
Consider the following situation:
mobile devices (ios, iphone 3GS).
an ...
0
votes
0answers
58 views
unity3d making a non walk trough portal
hi.
can any one please tell me how can i make a non walk trough portal in unity pro
like this one youtube ?
i know that i need to do some thing with texture render but i'm not sure what.
thank u in ...
0
votes
0answers
143 views
How to add render able Texture in Unity 3d for iOS
I want to render an image on texture which should be stuck at one point, not stuck with Camera. I don't know how to accomplish this task because I started unity a week ago but I want to do this task ...
0
votes
0answers
68 views
Touch responsiveness on iPod
0 down vote favorite
I wrote a simple code that makes an object follow moursor or touch input and works so fast and responsive on editor but when I deploy it on my iPod, it has a slight delay. If you ...
0
votes
0answers
188 views
Unity3d Gravity script issues
I'm try this script out
http://wiki.unity3d.com/index.php/Gravity
and I'm having some issues with it (it seemed to work when I tried it with an old version of unity)
the first issue is of ...
0
votes
0answers
64 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 ...
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 ...
0
votes
0answers
549 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 ...
0
votes
0answers
129 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 ...
0
votes
0answers
123 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
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
0answers
179 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 ...
0
votes
0answers
82 views
how to split up the prefab of multiple player in photon?
there is a game, using photon, i have create and do every thing, just i need one change, in the game for each person there is a prefab that create when every body join the room, i want to create a ...
0
votes
0answers
54 views
unity texture baking limit
I'm baking textures in unity to use for the navmesh but there's a limit of 1024 tiles, is it possible to increase this limit to accomodate the amount I have to bake
0
votes
0answers
88 views
How to make one complete model from entities in Sketchup (Pro)
Sorry if this seems like a silly question. I prepared a terrain based on geo location on Google Sketchup; however I can't make entities (500 meter square entities, few of them) into one model to ...
0
votes
0answers
275 views
Unity + NativeToolkit + OpenGL ES 1.1 in native view iOS
I have been working on one quite frustrating project lately. My goal is to launch iOS view from Unity (done by using NativeToolkit plugin) and then to launch an OpenGL ES 1.1 component in that view. I ...