Particles launching at random directions...
When my particle effects are instantiated, they are at the right position, however they are sent out at random directions. This is not a collision error, as I have included the ignore collision line as...
View ArticleHow do I fix my Normals (I have flipped them and does not work)
Hello all, I'm just starting on developing a game, but I am having a problem with flipping normals in Blender. I have the setting in which I can see the blue lines indicating normals on, and I can see...
View ArticleScreenshots Not Working Saving
When I compile my game (on PC), it makes the Screenshot folder but it doesn't save anything in it. Here's the code snippits: var screenshotFolder = "Screenshots"; private var screenshotcount = 0; if...
View ArticleRotation attribution problem
Hello! I'm getting a problem when I do a direct attribution to a rotation: player.avatar.transform.rotation= newRotation; After that, the rotation values appear on the transform of the object...
View ArticleIsometric camera with unity native 2d support.
I heard that unity has recently got native support for 2d development. But as far as I searched it seems that it has a fixed camera in typical platformer style. I was thinking more about making a game...
View ArticlePhoton AddForce to an existing object
Hello Everyone, I am trying to make the player push another player away when you hit him. I tried a lot of different things, just add the force from the attacker to the defender, didn't react at all....
View ArticleList of HTTP User-Agent's in Unity for various platforms?
Hello again :) I'm writing here server(java) and client(unity) for my current project, and one of the security tasks is to skip any request that came not from our client. One of the things we check in...
View ArticleDifficulty Instancing via UnityScript
Hi guys! Bear with me because I am coming to grips with unity and scripting. I am trying to write a simple script where a plane I've created is going to duplicate if it reaches a certain coordinate on...
View ArticleBest way to store and use player classes?
So I am making a game where each level the player has various options for classes. This is like 'Multiplayer Classes' in Call of Duty, although the game is totally different. Anyways, each class has a...
View ArticleWhich AA solution is faster? Image Based or Editor?
Hello everyone, i wonder that if image based post process effect of anti aliasing is faster than editor based anti aliasing? I don't have pro version of Unity atm and i wonder if anyone would tell me...
View ArticleCan i run a new exe in running game as child window?
Can i actually do this using WinAPI? If can, it is possible to set parameter for child window ( title, position, size)? And how do this?
View ArticleGUI button open a new GUI window with GUI buttons
Hello, I'm trying to make a Main Menu in unity and I have create a world etc. for the background. The Menu is controlled by a GUI script "MainMenu" in javascript attached to a Empty Object in world....
View ArticleAdding Delay to a for loop in C#
I'm creating a spawn system for my game. Problem is that everything spawns at once. I need them to stagger. I've tried using Thread.Sleep (which gives me errors) and a few other methods which have all...
View ArticleSome script in differents scene
hello to all, I'm making a game, especially the part where you choose the character you type. But I have a problem, how do I make two scripts communicate on two different scenes? I have 2 separate...
View ArticleHow To Check If X Rotation Is Between Two Numbers??
I'm making a game where an animation would only play if the player's x rotation is between 2 numbers. Something like this(JavaScript Please): if (Player x rotation is between 0 and 180) { if...
View ArticleHow to Destory a Gameobject in C# after 3 seconds?
I'm trying to destroy a explosion after three seconds but my method is not working. I make the explosion after I kill the enemy in the EnemyAI script. I find the script attached to the explosion and...
View ArticleMoving player in camera direction
First I am a little bit sorry because it is a very classical question but actually I did not find an appropriate answer to my problem which is: I want my player to take the camera direction when moving...
View ArticleTerrain Toolkit - License
Hi. I download TerrainToolkitAPIExampleCode. I have question: Can I use this generation terrain for my game (commercial) because I don't find any license of Terrain Toolkit.
View ArticleHow do I move the camera to another object in the scene on mouse down?
I want to attach a script to my object that when I click on that object, the camera moves to another object. So, currently my main camera is focused on one object but I want that camera to move when I...
View ArticleMultiple Transparent Textures On One Mesh
I'm creating a character customization and I want to be able to change the color of different parts of the body using a color picker. I got something that's working where I'm using a mesh renderer with...
View Article