Camera Controller Script for 2.5D SideScroller Error
Hi, I have a potentially very basic problem but I don't know what the error means. I attach this script to a camera, and put the character as the target. Then it complains: `Assets/Standard...
View ArticleC# GameObject Movement goes forever in yz axes
Hi everyone, I have a script that changes the gameobject's direction when it reaches a point.For some reason when I set it for either the y or z axes they continue on forever.But if I set it in the x...
View ArticleBest Practices: TimeSpans
Hi there, this is, hopefully, a simple question. Why do I not see TimeSpans in tutorials/examples more? Are using these considered a bad practice? I know all sorts of nifty things can be done with just...
View ArticleBasic Multiplayer Question
Hi all , At very First time am working on 2 player multiplayer game, i'm getting much struggle with basic concepts. Actually i saw the basic on M2H tutorials and Photon network and etc. Actually i have...
View ArticleHow can you paint materials on terrains?
want to make a beach consisting of multiple sand textures, i can just paint the different textures on, but i want to paint with materials. Say a bumped diffuse and a bumped specular. How can i do that?...
View ArticleDifference between Terrain Height and Length
I read out the document of terrain in documenations http://docs.unity3d.com/Documentation/Components/terrain-UsingTerrains.html I cannot find the difference between Terrain Height and Lenght. Please help.
View ArticleInsert the model from the server system
Hi there, I have serious problem now. Actually i need to insert the model at the runtime from the server side. I have a scene which is having the several model at the runtime i need to add the model...
View ArticleIncrease/Decrease Object Scale
Hello, I want to be able to smoothly increase/decrease the scale.y of my object. Basically, I have a variable that will randomly range between 1 and 10 every second, and I want this variable to effect...
View ArticleIs the child collider still static even if I parent them with a rigidbody ?
Hi, I know that every moving collider object should have also a rigidbody. Is this rule valid for colliders parented by a rigidbody ? Or do they become somehow dynamic colliders ? What if I need...
View ArticleHow to rig an enemy?
Hi guys from Unity! I'm a newbie here so please understand I still don't know a lot of things. I want to make something like a first person horror game. I want to make an enemy that is a zombie. Once I...
View ArticleBug? And any way to do something for 5 seconds when shift is held?
I need to setup a power up system so on shift down the rigid-body on the player will be disabled. Here is the code I have so far. The only problem with this code is when you hit shift in the game.......
View ArticleI Made a Revolver Script, But It's Saying There is an Error
I made a script, but it keeps saying I have an error on line 20. Here's the error it has: Assets/Revolver Script.js(20,14): BCE0043: Unexpected token: .. .I can't figure out what's wrong with it. Here...
View ArticlePhotonView controlling multiple FPS Controllers
Hello, I've been trying to make a multiplayer test using the standard FPS Controller, and photon. I've completed the examples in Photon, but am still having some trouble figuring this out. The problem...
View ArticleSetting a jump force on a rigidbody
Hello people, I'm very new in unity so any help will be really appreciated. I'm making a game about a fish jumping out of the water and doing tricks (like dolphin Olympics). My player is a game object...
View ArticleHow do I move a Cube transform from one position to another smoothly?
I am working on a simple game. Right now I am working on moving a cube from one position to another. I am randomly generating a position and I want the cube to move there smoothly. Over time, I want it...
View ArticleHow to scale and translate world relative to camera
Unity Answers Question At Unite 2012 there was a presentation by the people who made Universe Sandbox. The video can be found here: http://video.unity3d.com/video/6958259/unite-2012-creating-the At...
View ArticleHow to see which material is using a texure as normal map?
When I save I get a message that a material is using a texture as normal map. However, I can not see which material is using this texture as normal. All materials in the scene seem ok. I know which is...
View ArticleNullRefferenceException, Specific Help Needed.
Hello, I am VERY new to code and have hardly written more than an HTML web page. I am getting the following error in my CONSOLE: ![alt text][1] I understand what ever i need is making my forward arrow...
View ArticleAutorotation issue when exiting gamecenter
Hi I've developed an app for iOS which enforces landscape via player settings. All works great except when used with game center. I'm using the prime31 plugin in unity for gamecenter and having...
View ArticleAdding items to the berg Zerg arcade inventory and saving
Hello I followed the burg Zerg arcade RPG tutorials and I want to save the inventory like in players prefs and also add items when a quest is completed so please help. Thanks
View Article