2D animations not working
i made multiple sprite animations. idelForward, idelBackward, IdelLeft, IdelRight. these idel animations were meant to change the direction the 2d character was facing. i made a java script and added...
View ArticleGlitching through ceiling when spawning blocks under the player
In a magic based game I am using a somewhat unconventional flight script that works through spawning invisible cubes under the player and destroying them soon after. The only problem with this is that...
View ArticleWhat language can I use to make a full game in Unity?
Here's my problem. I've started down the path of learning a few languages but I have a relative that works with Microsoft in software developing. Each time I start a new language he keeps telling me he...
View ArticleLevel counter gets stuck on the first phrase.
As you can tell by the title, I am making a level counter for a game. However, It always gets stuck on the first phrase which is "Tutorial". After that it is supposed to advance to "1" and then up from...
View ArticleGetComponent from server?
How can I get values or a component from the server? Just like you can check the name and amount of players connected to the server before you actually join it. For instance how would I check what...
View ArticleMake a Raycast pass through a layer?
Okay so I know how to do this but instead of it working correctly, it just ignores that layer all together. I need the Raycast to literally pass through it and hit the object on the other side....
View ArticleAnimation speed
I have created a gun system with animations but the firerate on my gun is not the same in the animation I want to increase the speed to make them equal. Can anyone help me? I use Java
View ArticleRaycast variable type in C#?
So i am trying to translate all my JS scripts to C# by using a converter and I understand that I will need to change a few errors that come up. In this most recent script, I am unsure of naming one of...
View ArticleMove object to raycast point.
OK, so essentially, I have script that emits a raycast forward from the camera, and moves grabbed objects to the hit-point. However, this presents the problem of the objects colliding into walls and...
View ArticleFlashlight problem
I have a problem, I made a flashlight and laser pointer script and I can only turn the flashlight and laser pointer off once, and then I can't turn it on again, any help? Script: var flashlightLight :...
View ArticleAlternative to using transform.translate and transform.position for moving...
Is there a way to move an object a certain amount without using transform.position or transform.translate? I'm working on something that would look like the game Rogue, with ASCII art-esque sprites....
View ArticleAccess Violation 0xc0000005) in module Unity.exe
I have been searching for days and can't figure out whats wrong, I have Change my shaders up under the Graphics tag and I also looked for the unity Patch for this certain error. The Error Occur...
View ArticleUnity Javascript is it real for real now?
Hey all, I found this post on quora: https://www.quora.com/What-is-the-difference-between-JavaScript-and-UnityScript The last answer the guy says: > Now Unity Tech has added support for JavaScript...
View ArticleHow to rotate cube2 if the script is in cube1?
What i want to do is to rotate the cube2 when the cube1 collides with it, i know i could put the script on the cube2 and test if they are colliding, but with all the thigns i will have it won't be...
View Articletranslate C# with => to unityscript
I'm trying to translate a piece of code from cs to unityscript, but I don't understand the syntax. The code initializes the gree webview which adds webkit to unity....
View ArticleHow to add a script to a parent object and not every individual child object.
I am in the process of making a sandbox game in **Unity 5.3.5**. Every block is inside of a parent directory and to destroy them, each block has a script assigned to it that deletes the block game...
View ArticleHow can I send russian symbols from JS to Unity WebGL
I use .jslib and SendMessage, to communicate Unity and JS. All works fine, but when i send to unity russian symbols, it's look like "english, русский" - > "english, ". JS-> console.log->...
View ArticleDamage Players Using Raycast
How could I make this function work correctly? So my players set a username and on Start, it will set their GameObject name as that name. I want to have a Raycast send this: nView.RPC("DamagePlayer",...
View ArticleUnityscript code completion support in Monodevelop
I am using Unity v5.3.4f1 personal edition. Whilst using Monodevelop for scripting in Unityscript, i was unable to find the code completion feature for Unityscript. Do Unity no longer supports this...
View ArticleHow to make transition between two different Blend Trees?
I have two different blend trees in same layer('Assault Aim' and 'Hand Aim'),'Hand Aim' contains one type of animation and 'Assault Aim' contains another type of animation , i want to make transition...
View Article