Quantcast
Channel: Latest Questions by AaronBrownLM
Browsing all 81 articles
Browse latest View live
↧

Bad File Length error!

I made a Unity3D game back in January of 2011. I no longer have the original source files for the game, but I do have the compiled webplayer.unity3d file. However, nowadays when I try to view it, it...

View Article


Textures randomly stretching on certain polygons?

This is what is happening... ![alt text][1] [1]: /storage/temp/23358-stetching+textures.jpg The texture that is stretching is the big grey one in the middle. This whole room is one single mesh. I've...

View Article


How do you make light only hit part of a mesh?

I'm trying to use "layer" to select what part of my scene is affected my a directional light. Problem is, even with Pro Builder installed in Unity, if I set a particular peice of a mesh to a certain...

View Article

Make object lay flat on a sphere + look up?

Looking around I found a youtube video (at https://www.youtube.com/watch?v=gHeQ8Hr92P4) which explained how to make a object, such as a player character, walk around on a sphere while keeping its...

View Article

Changing Y rotation in Editor also changes X and Z?

I notice that if I'm not running / playing the game, if I change the Y rotation of an object in my scene, it only changes the Y rotation (es expected). But if I play the game by clicking the play...

View Article


Is there a limit on the distance of raycast?

I'm using this line of code: if (!Physics.Raycast (Camera.main.ScreenPointToRay(Input.mousePosition), hit)) return; And the purpose is to detect if the mouse cursor touched a mesh collider. And it...

View Article

Unity 5 trees have white dots...

Why are there white dots in the trees in unity 5? No matter what tree package I download from the asset store, same thing. No matter what shader those trees are using, same thing. White dots when the...

View Article

Smooth terrain LOD transitions?

I'm using Unity 5 and I notice that unity appears to be automatically applying some sort of LOD (level of detail) effect to my terrain. I like that. But, it give a fairly obvious "snap" appearance as I...

View Article


Why don't trees block the sun flare?

My tree prefabs are set to layer "ignore raycast". My flare is a direction light with flare "sun". The flare goes right through the trees which looks unrealistic. What's the correct way to set this up?...

View Article


Why are my trees turning pale?

I'm using the tree creator, and I have 4 trees with textures and materials. Over time, as I worked on my scene (I was working on shadows, terrain textures and sun flares)... I began to notice my trees...

View Article

Real pivot rotation of all vertices in a mesh?

I need to rotate a mesh by actually moving all the vertices, NOT by changing the transform.rotation of the gameobject. In other words, the mesh should rotate by the vertices, but the tranform.rotation...

View Article

Create a terrain prefab? Saving a terrain? No?

It seems like this should be intuitive. I should be able to save a terrain. Right? What's going on here? As I read through forums and documentation online, I'm seeing people writing their own scripts...

View Article

Terrain LOD?

I notice there is some automatic level of detail happening on my terrains. I need to increase / decrease this terrain LOD. Where do I go to change the LOD settings for terrain, and is there a way to...

View Article


Mesh triangles don't match wireframe view?

So I have a mesh of a sphere made out of lots of fairly evenly shaped triangles. When I switch the scene view to "wireframe", I can easily see the triangles of my mesh. I assumed that if I got the...

View Article

Rotate a sphere by its vertices...

Hi, I need to rotate a sphere so that the pink vertex moves to the north pole where the blue vertex is. The whole sphere needs to rotate. I figure something like Quaternion.FromToRotation but I'm not...

View Article


Access terrain alphamaps directly? To clone them?

How do you clone a terrain's alphamap? It's inaccessible according to unity intellisense? In case anyone reading this doesn't understand: setalphamaps() changes all clones of the terrain. Not just the...

View Article

Webplayer shadows are low quality?

I'm using Unity 4.6, and yes, I set the graphics settings for web player output to "fantastic". And yes, I did it specifically for web player output (repeating that statement, for emphasis). Shadows on...

View Article


Can a camera cull lights on certain layers?

If I put a light into a layer, and then I tell my camera to cull that layer, the camera still sees the light. What I'm trying to do is have a camera that looks back at my own character (rear cam), so I...

View Article

NGUI typing into UI makes my character jump!!

Ok so I'm using NGUI and it works great except every time I type a space, my character jumps because that's also my jump key. And anytime I press W+A+S+D my character moves. I looked around online for...

View Article

Can you have multiple materials on a single polygon?

So I have a wall that's one big square polygon, or maybe it is two triangles (faces) that make a square. Great. Now I want to put multiple material(s) on that wall. For example: 1) A wallpaper that...

View Article
Browsing all 81 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>