Photon Instantiated Prefab of OTHER Player Falls Over
I am using Unity's MMO Player, Camera and Animation Controllers on a Prefab I am using as a Player's main character. Player A's Client is Window 1, Player B's Client is Window 2. Player A sees Player B...
View ArticleHow can I get my particle system to appear behind a 2D sprite?
Hi there, I've seen similar questions on this topic, but they seem to have the opposite problem from me. (See http://forum.unity3d.com/threads/211406-Unity-4-3-Particles-and-Sorting-Layers-%28-%29) My...
View ArticleCode quality measurment for Unity projects
I've setup my Unity project upon Jenkins (continous integration server) and configured it to check some of unit tests. It works fine, but last thing I want to include in CI, is code quality measurment...
View ArticleMaking a lineRenderer end 10 units in front of a gameObject.
Hey guys. So I'm making a stealth game right now, and the way that the enemy functions right now works as such: The enemy patrols an area, and constantly shoots a raycast in front of them. If the...
View ArticleCan I download the previous Unity-MonoDevelop version somewhere?
Hi. Ever since I upgraded to Unity 4.3.x, which ships with the new MonoDevelop, my enjoyment for work has been greatly reduced. This is due to one particular issue: I can't use my mouse to scroll! I've...
View ArticleAnimation won't Stop.
When I go to switch a weapon the animation plays but I can't get it to stop so it can go back to it's original state. Here is my script: var Weapon01 : GameObject; var Weapon02 : GameObject; function...
View Articleblender animations problem (or bug) in mecanim
hi, I have a problem, horrible horrible problem: i'm importing animation list in a .blend for mecanim(humanoid), mecanim isn't reading the new animations, but the previous animations yes. I tried to...
View Articlehow to make an enemy fire a bullet once every second
i have a very basic enemy AI script to make the enemy follow me and when within range shoot at me but it continuously fires bullets extremely fast. i want it to fire bullets much slower than it does....
View ArticleWich one of these is Less CPU Consuming?
Hello guys, i've made a code to get the values for the y and w rotations of the camera, to align my character to those, but i want to know, wich one of those methods will give me less lag. **Option 1**...
View ArticleDraw grid over terrain, *A grid that follows the terrain mesh*
Hello, I'm working on a tower defence game, i need to find a way to draw a grid over the terrain. I've searched all over the web to find this...
View ArticleDetermining Loading time/Loading screen
Now, I just want to understand loading screens a bit more. How do you determine the wait time(Progress bars)/when to stop showing the loading screen? For example, I have a game, that a loading screen...
View ArticleHow to check if there is a certain tag in a scene
So I am just trying to see if when object 1 spawns in for it to check if object 2 is in the scene but by looking for a tag. If its not in the scene the delete its self.
View ArticleEnemyHealth.js script not working...
I have been working on this script for the past month and my collisions are not working... I have a drone and when a bullet hits the Sphere Collider, I want the drone to lose health and after it has...
View Articlehow to remove GUI from screen by clicking on a GUI button
i am creating sort of a vendor in my game but i need to be able to close the GUI that pops up when i enter the trigger of the vendor. so basically i just need to know how to close certain GUI that i...
View ArticleMoving graph using vectrosity
Hi developers, I am using vectrosity to plot a graph whenever a new data comes in. I add in the X and Y coordinates into an array and use VectorLine.Resize to update the lines. However, it does not...
View ArticleAlign character to wall
Hello guys, i'm making a WallJump mechanic in my game, and its almost done and working fine. The only thing left that I want to do, is to **align my character to the wall that its touching**. (This...
View ArticleHow to make if the object == null then add gold?
Hi guys, okay my problem goes like this i have a damage script for the enemy in javascript then my add gold script is in C#, right now i wanted to make a C# script that able to state if the enemy is...
View ArticleHow to pass path to plugin?
Hi guys, I'm writing my first plugin, it is a Windows Phone 8 one, how can I send a the path of a texture to a function so it can access the texture? I want it to update the live tile and couldn't...
View Article4.3 on mac osx 10.6 - build settings don't work
i have only one project, but 10 scenes, all incremental backups; when I hit build settings i see all the scenes checked in its window; it won't let me check only the most recent saved scene; when I...
View ArticlePlayers cannot punch in multiplayer
I have a basic game with a multiplayer (1-4 players), and my move script: #pragma strict var moveDirection : Vector3; var controller : CharacterController; var jumpSpeed : float; var speedW : float;...
View Article