sharedmesh using memory ?
Hello, Im have a little question regarding sharedmesh's memory use. **Situation :** Im making a grid-base map system, quite like Dwarf Fortress, except 3D. The way I do it is as follows : 1) Generate...
View Articlemy object keeps cloning is self i want it to clone once
hello there i am making a video game that require a obstacle generator similar to the one in flappy birds when the character goes though the trigger located in the center of the obstacles it is suppose...
View ArticleMissing textures in on a generated prefab/mesh
Hi all, I am having some issues with my generated mesh. I have a procedure that generate mesh in the editor, and I save the generated mesh as .asset in a folder, plus I create a prefab containing the...
View ArticleRandomly Generated 2D Level
So what I want to do is make a Procedural Random 2D game, with different levels every time the player dies. I already have the game mechanics, and I could make my own level if I wanted to, but how...
View ArticleNeed help with procedurally generated tunnel mesh
I have been trying to make a procedurally generated tunnel with a mesh. The tunnel is based on a regular polygon with 12 sides. I have successfully created a path the tunnel to follow with center...
View Article[Solved] Applying multiple materials to a generated mesh object
I am going to be loading a mesh from a file, but I have no idea how to distinguish which triangles should be which material. Once it's on a GameObject, with a MeshRenderer, I just need to add another...
View ArticleGeneration Problem c#
I have a question-problem with a game I'm creating for android .... the thing is that I have 4 generators but I want to only 1 generator generating items from the beginning, then the 2nd generator...
View ArticleMesh with texture atlas is "sparkling"
Hello everyone. I have made my game's 2d terrain with programmatically generated mesh and added texture to it from texture atlas with uv's. The problem is, that my mesh is "sparkling" (small stripes of...
View ArticleHow mirror object by x
I generate gameobjects with meshes from xml and I need mirror by x result (gameobjects). I try use localscale x = -1, but then batching broken. I try use vert.x = -assignValue ( assignValue from xml) -...
View Articlescript working but how can i generate object only Y axis? I don't know how to...
using UnityEngine; using System.Collections; public class CloudsGenerator : MonoBehaviour { public GameObject Clouds; public Transform generationPoint; public float distanceBetween; private float...
View ArticleGenerated meshs and lights
Hi guys, i have a question regarding generated meshes and lights. Code: vertices.Add(new Vector3(0,0,0)); vertices.Add(new Vector3(20,0,0)); vertices.Add(new Vector3(20,20,0)); vertices.Add(new...
View ArticleGenerated mesh render order
Depending on the viewing angle, these runtime-generated Meshes (floorboards for a treehouse - just for reference), will render in the wrong order, resulting in faces that should be occluded being...
View ArticleAuto generated blocks turning invisable? 2d game
So Im working on a game and everything is working just fine until I start it and after a few blocks it just turns invisable (The blocks that is) for example I start the game > I run and jump on a...
View ArticleHow can you make a generated animation work with a humanoid avatar?
Hello everybody! We have a live stream of motion data, that gets applied to a model in Unity. Now we are trying to record the animation within Unity, which works with a generic animation (by getting...
View ArticleSkybox Cubemap - 6 Noise Generated Maps How to give Angular Distortion
Hello there I have the following problem which I would like to some help. I am generating 6 textures to fill a skybox cube but I dont know how to give them angular distortion. Does anyone know the...
View ArticleCan't find anything to help me!
Okay so I'm new right, and I need some help. Does anyone know any good tutorials on randomly generated things? Primarily NPCS Like, I know it has to go item1>item2, ect but I can't find anything for...
View ArticleHow to ignore the "Mesh doesn't have albedo UVs." error message?
I have a editor-script that generates a bunch of meshes that represent a terrain (or race track). It works well and creates nicely very tesselated terrain.. ..but the problem is that I get two...
View ArticlePlacing a generated object in the center of a plane..
Hi, i've been trying for days to do this, I'm more than certain that it is a dumb question, but well.. I have a maze generator. The objective to accomplish is to create 6 mazes, each one with a plane...
View Articledistance between generated skidmark meshes and wheel colliders
distance becomes bigger with more velocity this is the code #pragma strict private var curFriction : float; var skidAt : float = 0.6; var smoke : GameObject; var skidMarkWidth : float = 0.2; var...
View ArticleLines appear between tiles of generated mesh
Alright, so here's my problem. I have a 2d randomly generated mesh that is made of 16px x 16px tiles (they are mapped off a texture atlas, not individual gameobjects). When I run the game I experience...
View Article
More Pages to Explore .....