animated model (3ds max) not playing
i create a simple cube with a sphere over it and i animated sphere. start : 0 end : 80 i exported into unity (used importing 2010 format after tried with 2011 , cause i've got 32 bit system) then i...
View ArticleC# Null Object Reference - Driving me mad!
Hi there, I'm getting the above error, the object reference is not set to an instance of an object, and I seriously cannot find the reason for it. Here, I'll break it down. I have my main character...
View ArticleInstantiate bullet from touch position
**Hi How would I go about making a script that instantiates a bullet from the point I touch the screen ?** So if touched the co-ordinates x,y,z on the screen it converts **(I know you have to use...
View ArticleHow to prevent app running on incompatible device.
Is there a simple way to prevent my app to run on device below iPhone 4S and iPad3 ? I have two scenarios : - Hide the device on the appstore level by tweaking in Xcode. - Show a message at runtime...
View Articlesnap object to object in game mode
i have 2 objects in my game. How can i snap one to another when the distance between them is less then a certain value? Again, this is in play mode, not in the editor.
View ArticleBonus points tile! Need help!
Ok, guys, Im making a simple board game with a tile system. I want to make some of these tiles give the user some bonus points to the score, when passed over (only the first time the user passes over...
View ArticleUnity Pro and SVN'ing *.unity files
In Unity Pro I can force all unity files to be in text format, which would enable automatic SVN change merging. But "automatic" means "error-prone" so I would like to know that for sure before I start...
View ArticlePaus script HELP
Hi there! I have a question about my paus script. When i press escape the game pauses and the time is set to 0 and all audio stops playing. When i press escape, a button sound needs to play, but if...
View ArticleThird Person Melee Attack
I have javascript for first person melee attack, but it does not works on third person, can any body help me out with it, i need it working on third person. the code is just for calculating the...
View Articleimporting Georeferenced maps
Hello, For my game I would like to have 2 maps. 1 for the current time(I'm using Openstreet maps) and 1 old map. This way the user can see what was there at his current location. Now I got as far as...
View ArticleUnity Editor - build asset bundle from files in a set folder
I have a powerful windows system that can handle selecting 30,000 prefabs to build an asset bundle but my mac mini hangs when I try to build an ios asset bundle. Is there a way in an editor script to...
View ArticleInstantiating track in correct orientation
private int toSpawnTrack; //Track Locations Vectors private Transform currentTrackLocation; private Vector3 nextTrackLocation; public void generateTrack() { print ("generate Track Called");...
View ArticleAddForce is inconsistent
i want my player to slide down a slope fast enough to land on the other platform. ![alt text][1] Problems: 1. I tried using addForce and also changed the velocity of x directly but they don't always...
View ArticleTerrain Like minecraft
I want to make my map game like in photo (I tell it in picture) ![alt text][1] [1]: /storage/temp/15162-2zoceg3.jpg
View ArticleHow to access and modify the "Read/Write Enabled" values of a Texture2D from...
I want to do this from code, because I'm making a Texture2D by reading the pixels from the screen, and then I want to access each pixel in order to make a heightmap out of it. I can't access each pixel...
View ArticleWWW error on ios
Hi Recently I'm testing my project and find it always return bad url(www.error) when attempt to load file from local disk on ios simulator. But in editor, it works fine. Here's a sample, it fail on...
View Articleload resources material
I try to load material from resources folder with script like this: I have a folder with material named like: TextName_x_y. this.renderer.material = Resources.Load(TextName +...
View ArticlePoint FPC camera at object after repositioning.
Hi, Within my project I'm using the standard FPController and have built a GUI such that I can click on a button and jump my character to a new position within my world. What I'm struggling with is I...
View Articleloading local file synchronically using WWW?
I was wondering if the WWW can be used without yield when loading the local files? I have tried to use it to load local file synchronically: WWW www = new WWW( "file:///" + assetPath ); AssetBundle...
View ArticleInfinite floor
I have a plane, with a collider, of which I set the position with in FixedUpdate: rigidbody.position = new Vector3(player.position.x, transform.position.y, player.position.z); rigidbody.velocity = new...
View Article