Unity Plugin/Xcode interaction
I'm currently working on a project with people creating some new hardware for game interaction. They're expert software programmers who've never used unity before, and I'm at least a savvy game...
View Articlerequire(“”) from Node.js in UnityScript
Hi all, I am an API noob trying to get a Node.js script to work for UnityScript. My code calls for 3 libraries from Node which are all loaded using **require()** Unityscript (and as I understand...
View Articlehow to export the .Mat files into .Mtl files to load in three.js?
Hello, thank you in advance. I am working on a three.js project and Unity3D project. The project from Unity3D is focus on design the model as well as the materials and make it run correctly. To the...
View ArticleNeed health to decrease with movement in Javascript
No errors, but what I've got doesn't work and I cannot figure out why. All I'm looking for is the variable called health to go down by 1 point with every movement in the inspector. The script is...
View ArticleKeeps giving me a BCE0005 error and i dont know how to fix it any suggetions?
var speed : float = 0.0; var jumpspeed : float = 9.5; var gravity : float = 40.0; var moveDirection : Vector3 = Vector3.zero; function Update () { var controller: CharacterController = GetComponet.();...
View ArticleLine up camera views
I have a player controller with a camera parented to it. I have another separate camera. I would like to move the player controller to the separate camera making the two cameras view line up. I could...
View ArticlePlaying Different Animation Troubles
I want my code to have my gameobject (Goblin) to stand animation when player is far away, then when player is close to chase and use the walk animation. Then when player is super close to play the...
View ArticleRead objects like in Penumbra
Hi, I'm new to coding and I dont know how to make a script like in penumbra when you right click on a object, a text appears about the object. ![alt text][1] [1]: /storage/temp/73982-untitled.png
View ArticleFormat Exception when trying to parseFloat(String)
Hello, I have a problem with my script. For some reason i get a Format Exception when i try to parseFloat() a String that i get from an InputField. **The Exception:** FormatException: Invalid format....
View ArticleDuplicating and Instantiating a UI Image next to the previous.
[1]: /storage/temp/74130-screen-shot-2016-07-15-at-25135-pm.png Hello Everyone. I'm trying to implement ye ole' heart heath UI in my game and can't quite figure out what I need to do in order to...
View ArticleJson Utilities returns empty object (javascript)
For some reason, JsonUtility.ToJson() is returning " { } " every time no matter what I pass it. tested not working example: var foo:String = "bar"; print(JsonUtility.ToJson(foo)); this always returns...
View ArticleIncrease variable?
I created this script to increase the speed of spawninggameobject: public var goTransform:Transform; var sp:float = 0.5f;//how fast the game object is being moved var incrementTime = .1; var...
View ArticleHow add(create) a new gameobject on scene on mouse button click.
Hey guys... so, I am really new in code world and unity, so things are yet blurred to me. In fact I am learning yet how the things unroll and happens in the coding world. I had already looked here at...
View ArticleRight Click Load Scene help!
How do I make the game load a scene on right click? Attempting to learn a bit of this actually, apparently some things don't work in 5.3 Either way, is there a way I can make the game load a certain...
View ArticleBCE0144: 'UnityEngine.GameObject.renderer' is obsolete. Property renderer has...
Well i am getting this error my here is my code ![alt text][1] [1]: /storage/temp/74343-rnd1.png I downloaded the script from a tutorial video. When i replace renderer on the 9th line It gives me...
View ArticleHelp make my Timer GUI stay in the same position
Hello guys i need help with my GUI text for when the time decreases the timer keeps on moving basically the mili seconds. I Can anyone help me make the timer stable and not moving. Thanks appreciate...
View Articlehow to make a javascript object to launch,Comment
**I try to make a javascript to launch object in a 2.5D game.** *Specifically the barrel if you have animations*> thank you in advance ,
View ArticleHow to read uploaded WebGL binary files?
Hi, I want to upload audio to my game via javascript (because of WebGL), and I have my input and everything working, and I can select a file, but how would I pass the file back into Unity as an...
View ArticleHow long does it genuinely take to learn c# or java by yourself vs in a...
Next year im taking a java class and im really excited that I will start to learn coding, but if I research on my own before school starts and watch coding tutorials do you think i'd be able to get...
View Articleposition is not a member of Object and GetChild()
This code is giving me 2 errors "BCE0019: 'position' is not a member of 'Object'. " at lines where I try to change position. Can anyone tell me what's wrong? Script is attached to an object whose child...
View Article