character wont Jump :(
okay so i've made some progress on my game but now i'm trying to get my character to Jump (with its own custom jump animation) but it does nothing, it walks and does all the other actions i've scripted...
View ArticleAfter playing an animation, void Update() hangs
Exactly what it says in the title. The following script is giving me all kinds of headaches. The "update works" log stops working after the co-routine "works." Any ideas? void Update() { if...
View ArticleGetting Variables From An Arbitrary Component?
I am familiar with the basic way of getting components by ASpecificComponent aSpecificComponent = (ASpecificComponent)transform.GetComponent("ASpecificComponent"); aSpecificComponent.anInt = 0;...
View ArticleHow do you save timer with PlayerPrefs?
Hello Everyone, I'm creating a survival game where a timer displays how long the player is currently surviving. The timer is working perfectly however I'm having some difficulties on saving it whenever...
View Articleclient sends ID string to server list , the list size increases but the list...
Client script called FindGame public static string PlayerID=""; public string ID=""; void OnConnectedToServer() { print("Player ID is " + Network.player.ToString()); PlayerID=Network.player.ToString();...
View ArticleHow can I play two animactions at once, with one of the animactions looping?
Im making a rpg, and am trying to make a cut scene. I have a walking animation, and I want it to loop, while I make the character move to a new location using a animation I'll create in unity animator...
View ArticleCreating A GUI health bar
First, I have to say that im a beginner scripter, please be patient with me thx :D. So, I tried to create a health bar for my player and I came up with this script : public int maxhealth = 100; public...
View ArticleShader texture blend performance
I'm trying to blend two textures by an amount relative to distance to some game object. Got it working well enough using a vert program to calculate distance and frag program to combine textures....
View ArticleUnity Jet Wing Animations! Help!
Hello, I am currently creating a small jet simulator and wing animations. I created all the animations in Blender and exported them into unity using FBX. All of the single animations work such as Up,...
View ArticleCan you make an animation have an event at the end where it plays another...
If anyone could tell me the script for that, it would be very much appreciated. ALso, (just as an afterthought)if an event at the end of the second animation made it so that it went back to the first...
View ArticleGit and Unity - Scene not commiting script links properly
Currently We have our scripts sitting in a sub directory of Assets (Assets/Player Scripts/blahblah.js). I fixed some animation issues our game was having, then committed the changes. When my project...
View ArticleVS 2013 w/ Resharper - Start(), Update(), OnGUI() is never used
Hey guys, I have VS2013 Professional and I have the Resharper PlugIn. I'm following a course to learn Unity and when I open a script from Unity it opens VS2013 correctly and I can edit the script and...
View ArticleHow to make IK interact with colliders.
Hellow, I am using Unity built in Inverse Kinematics to control my character hands with razer hudra. But the problem is that I cant make the interact with colliders and they just go throught all...
View ArticleWhats the best way to implement different languages?
Hey :) so i'm working on a game project in unity. the next important step would be a menu where you can pick a language for the in game texts. whats the best way to implement a function like this? i...
View ArticleHow to Parent a Cloned Object to Another Cloned Object
So I'm working on a procedurally generated endless runner kind of thing, it's my first real Unity project. I have a plane that slides forward, and then instantiates another plane, then destroys the...
View ArticleCan't Animate
Hi. I'm having a little trouble animating my character. I have two animations, Idle and Run, the latter starting when I use the vertical axis. I've only been able to make one animation loop or both...
View Articlewhy when i use Network.Disconnected my game had been exit forcefully?
void OnGUI() { if (Network.peerType == NetworkPeerType.Disconnected && DC == true) { ToMenu("Main"); DC=false; } if (Network.peerType == NetworkPeerType.Disconnected && DC == true) {...
View ArticleDoes Umbra support multiple scenes?
I have searched the forums and answers site, but have been unable to find a clear answer as to whether you can have multiple scenes, all loaded separately - not at the same time - with Umbra? I have...
View ArticleFPS Controller with relative X/Z movement
I'm making a game where the player can walk on walls. I'm trying to achieve this by making the player a child to whichever wall he/she is walking on. This way, all rotation, gravity and movement of the...
View ArticleCan we develop a game on Windows and then transfer it to Mac?
That's it. My friend and I are going to develop a game and he's the programmer and doesn't have a Mac. He's going to program the game on Unity for Windows and my question is if we can transfer the...
View Article