SmartFox Physics?
I have made a game and i implemented multiplayer but i noticed that nobody is really on the server. unity is sending messages to the server en others are receiving to see where a player is ingame is...
View ArticleSpawnPoint LoadLevel
is there a way when you use LoadLevel to load it and spawn somewhere i did not put my character? so loading the level and teleporting him right after with a script thats only attached to something in...
View ArticleLine Reading
i already know how to read stuff but how can i say like: if(lalala.Equals(lololol.text.line2)) something like that
View ArticleLittle help with S3
IS there a way to use Javascript in unity to like Create/Edit a textfile stored on S3?
View ArticleCan someone explain this?? KeyCode Error
Im working a long time with Unity and i never have seen THIS error and i cant get rid of it no matter what i do... UnityException: Input Key named: KeyCode.E is unknown UnityEngine.Input.GetKeyDown...
View ArticleAnother KeyCode problem...
How can i convert like a normal string "KeyCode.A" to a KeyCode? static var left : KeyCode = KeyCode.A; i am sending the string "KeyCode.A" to the variable left in .....left = "KeyCode." +...
View ArticleAnother Error - Enum.Parse
static var saved90left = "KeyCode.Q"; static var t90l : KeyCode = KeyCode.Q; function Start () { t90l = System.Enum.Parse( typeof( t90l ), saved90left ); } **when i do this i get this message**...
View ArticleSimple Prefab Instantiate "(Clone)" Question
Is it possible to remove the "(Clone)" thingy that Unity adds to the GameObject name when i spawn a prefab?
View ArticleScene saving
can you save a scene in game, so that when the game is restarted people still have everything that was added or removed in the scene?
View ArticleColor.Lerp does not update
I'm working on a day/night cycle script, and I'm totally done except for the Color.Lerp when 1 day/night cycle is set to 1 minute, the speed of the Color.Lerp is 0.004 it takes like 2-4 seconds when...
View ArticleAdd More Terrain
is there a way to add more terrain? i already know you can set the resolution but when i do that EVERYTHING i already made gets resized. i just want to add another field without having 2 terrain objects
View ArticleStreamReader in while loop stops/freezes unity
i am trying to make a script that checks if theres incoming data, using a while loop. but when i use the StreamWriter it waits until it receives data before continuing. is there a way to let this run...
View ArticleStreamReader & Unity still does weird things
yesterday i posted a question on how i could use StreamReader WITHOUT letting unity crash.... i taken out the loop BUT theres still some weird stuff when i start the server (a java server) en connect...
View Articlerotation.y gets wrong data
i know this must be something very simple but i can't figure out why transform.rotation.y is giving me 0.** and not the right number when my rotation on Y is 200, and i put a script on there with...
View ArticleNetworking Physics / Object Ownership / State Sync
I'm trying to find a good way to update an object's state. I'm not using SmartFox, Photon, or Unity's built-in networking because i couldn't get the results i wanted trough those. i decided to make my...
View Articleforce quitting
i sometimes find myself in a situation where everything freezes because i forgot to code something to make a certain loop stop, result ing in sometimes spawning billions of objects accidentally. the...
View ArticleCant find specific GUI Object thing
I'm looking for a way to put this to unity, i can't give names because i don't know what the name is. i used a text area to replicate what it looks like, but it doesnt work ilk ethe original thing....
View ArticleScreen.width + Draw Texture not screen width
i use GUI.DrawTexture and Screen.width/height to fill the screen with a texture, but Screen.width gives me Screen.width - 1. even when i write Screen.width + 1 in code i can't get it to fill up the...
View ArticleLoading.ReadObject CPU Spike
when load a scene of my game, after a few seconds of loading, i noticed a HUGE spike in CPU usage cause by "Loading.ReadObject". is there a way to read all object in the scene on the start? and...
View ArticleHow does Unity compile 3D Models?
when you build your game, how does unity compile all the different 3D files (.obj, .3ds, .x)? i just wanna know if unity compiles it all into one object file or it just reads all different types on the...
View Article