Answer by diabloroxx
If you are planning on having a networked gameplay where 2 or more people interact with each other in one particular scene, then it needs to be a single scene.If for some reason you want them to be...
View ArticleAnswer by diabloroxx
Your code is correct. Just make sure that you add a collider to the Plane (which you want to assign as a button). You can also add a GUI button to translate or move your camera. That way your button...
View ArticleAnswer by diabloroxx
Monodevelop does not have full support for UnityScript (YET). I think this answer will shed more light :http://answers.unity3d.com/questions/21670/monodevelop-with-unity-3-unityscript
View ArticleAnswer by diabloroxx
Depends entirely on whether you wish to deploy it for Web or whether it is a Stand Alone game.If it is for web, you could store the data in some Database (MySql) and send the data to Unity using the...
View ArticleAnswer by diabloroxx
You have to Post the entire code to ascertain what is going wrong where. Have you called any other GUI object or referenced any GUI element from any other function. If so, remove that.
View ArticleAnswer by diabloroxx
Look at the error. At times, in case it is a windows server, the IIS needs to be configured for the MIME type Application Unity.
View ArticleAnswer by diabloroxx
Try having a look at the First Person Shooter tutorial /demo :http://unity3d.com/support/resources/tutorials/fpstutorial.html
View ArticleAnswer by diabloroxx
If by deletion, you mean the objects disappeared from the Scene, then you need to reimport the assets/ add the meshes to the gameobjects in the Hierarchy menu again to bring those objects back on the...
View ArticleAnswer by diabloroxx
You can use an "If" condition inside.var IcanDrag : boolean; function yourFunction (){ if(IcanDrag) { ... } } funcion SomeOtherFunction() { Condition changes; IcanDrag = false; } Post the code to get a...
View ArticleAnswer by diabloroxx
You can access the returned data depending on the type of the data. If it is String :String myData; Texture2D myTexture; IEnumerator Start() { public string url =...
View ArticleAnswer by diabloroxx
Check the "Moving on Uneven Terrain" at the ITween website. You can use his documentation for using the library.http://www.pixelplacement.com/itween/examples.php
View ArticleAnswer by diabloroxx
I would suggest that you use the Script found here : http://www.roguishness.com/unity/ for parsing your XML. It works fine with whitespaces as well.
View ArticleAnswer by diabloroxx
Try this out:Void Awake() { transform.renderer.enabled = false; } void OnCollisionEnter ( Collision TestCollision) { transform.renderer.enabled = true; }
View ArticleAnswer by diabloroxx
Set a mode for each weapon. In case you use different Weapon script, then use the OnGUI() in each to appropriately modify the texture. I have been switching textures based on an If Condition. Eg: 1....
View ArticleAnswer by diabloroxx
The correct syntax for Instantiate is : Instantiate (original : Object, position : Vector3, rotation : Quaternion) : Object You have supplied arguments like (Object,Vector3,Vector3) . It should have...
View ArticleAnswer by diabloroxx
Could you please add more clarity to the question. All objects will have a Start() and Update() function attached to it. You can press Play button (Ctrl+P) to check it out. However, if you edit the...
View ArticleAnswer by diabloroxx
Check Application.OpenURLfunction Start () { Application.OpenURL ("http://unity3d.com/"); }
View ArticleAnswer by diabloroxx
You can check this Post in the Unity Forum. The "throwsomething_804" is something which you are looking for.Link
View ArticleAnswer by diabloroxx
Can't you have a boolean variable attached in the first function and then make it false using the second function. Eg:Script A -bool AmActive = true; void SomeFunction() { if(AmActive) .... blah blah...
View ArticleAnswer by diabloroxx
use the example posted here:http://unity3d.com/support/documentation/ScriptReference/WWW.html// Get the latest webcam shot from outside "Friday's" in Times Square var url =...
View ArticleAnswer by diabloroxx
Check this for Rotating an object: http://unity3d.com/support/documentation/ScriptReference/Transform.Rotate.htmlCheck this for getting Input and identifying them:Try this:void Update() { if (...
View ArticleAnswer by diabloroxx
if (Input.GetKey("right")) Debug.Log("right pressed");This keeps working perfectly when inside the Update(). Check your code or perhaps, the Input. Maybe you have another Camera/Controller attached to...
View ArticleAnswer by diabloroxx
Did you try creating the same file again? Copy the contents, delete the file. Then try recreating it. Else remove them from folder and drop them back.
View ArticleAnswer by diabloroxx
Run it in MAC. Isn't the "it does not support windows" pretty obvious?
View ArticleAnswer by diabloroxx
You can try having checkpoints or mile markers in your track. The person closest to the marker is first, the person behind him is second , so on . You don't have to render them, even drop in couple of...
View ArticleAnswer by diabloroxx
I don't think you have defined speedometre in the myspeed.js file. If you are referencing the speedometre from the speedtest script, then use GetComponent to get the script and then access the variable.
View ArticleAnswer by diabloroxx
Have you tried RepeatButton:- Make a button that is active as long as the user holds it down.
View ArticleAnswer by diabloroxx
I had a similar problem. I changed the collider of the staircase to a slope. Create a box collider and change the scale and rotation to match that of the stair case. Works like a charm. If you have...
View ArticleAnswer by diabloroxx
Can't you use Application.ExternalCall to call a javascript function on the browser to achieve this. You can check this page for writing Javascript function for sharing -...
View ArticleAnswer by diabloroxx
Perhaps you can use If condition along with various flags to achieve what you want. Since update already does what you want your While loop to do. For example, if(conditionFlag) { //Your Rotate...
View Article