Quantcast
Channel: Latest Questions by 13dnizinski
Browsing latest articles
Browse All 26 View Live

Why do I get an Argument Out of Range Exception when I use a multidimensional...

/* Instantiate(Resources.Load("Blocks/EmptyBlock")) as GameObject DOES return a GameObject Something is happening whenever I Add() an element that throws the exception This is my code: */ using...

View Article



Why does setting the Camera Clip Plane make my game run slow?

A little background: I am making a game similar to Minecraft with a three-dimensional array of cubes. This array is a 50 x 50 x 10 and whenever I turn Camera Clip Plane to only show cubes close to the...

View Article

Why does my class script not recognize variables in its own instance?

Hello, I am making a game where multiple citizens will coexist in a city, so I need to be able to use multiple instances of the Citizen class at one time (By having multiple citizen mesh GameObjects...

View Article

Making AI that can navigate through a city?

I'm making a game where people live in a city and each person is going somewhere or doing something. I need a way for these people to find a route to a destination that is entirely unobstructed. I need...

View Article

When I add a gameObject from one list to another, it makes a new one instead...

I have a two lists. Variable 'openList' is a list of my own type 'AINode,' and blockList is a list of GameObjects. Whenever I try to add a blockList element, It copies the gameObject in blockList. I...

View Article


Why is the parallax shader making everything look trippy?

Hi, I'm new to using the parallax diffuse shader. When I imported my house that I made in blender and applied parallax diffuse, it looked all warped, wavy and trippy. I was wondering why this could...

View Article

Why do my animations only play once?

Hello, today was my first time using the animator object. With the script I applied, the model goes through its correct animation once and then freezes in the first frame of that animation. I know as a...

View Article

How do I configure my humanoid animation?

Hello, I imported a character that I made in Blender and imported him into Unity. When I try to configure the avatar, Unity says I'm not allowed because no matter how I configure the bones, at least...

View Article


Why does the transparent shader makes the entire object seethrough?

I've used transparent shaders like this before, but this time, the entire object becomes transparent. Using a non-transparent bumped specular shader, everything is solid (not transparent). When I use...

View Article


How to assign different TEXTURES to objects with the same mesh?

Hello, Internet! I am making a game with a build mode similar to that of "The Sims" where I have one "Wall" object that is duplicated many times (seems to run fine). Anyway, like in "The Sims", I would...

View Article

Efficient Sims-Style floor tiles

Hello, wonderful internet people! I was wondering how to implement a floor-tile system similar to the one seen in the sims. I have considered an array of floor tile GameObjects and felt that would kill...

View Article

How can I find if a raycast has passed through two points?

![alt text][1]I am making a raycast-based navigation system (because I'm too poor for pro :/) and I need it to be dynamic (respond to new objects) and I need to see if a raycast has gone between two...

View Article

I need to save and load GameObjects. How do I do this?

I have tried saving and loading through playerprefs, but I don't want the save to be stored in the registry. I tried serialization, but it doesn't work for gameObjects. I have even tried the Unity...

View Article

Browsing latest articles
Browse All 26 View Live




Latest Images