Answer 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