C# cannot convert 'char' expression to type 'UnityEngine.Texture'
Hi everyone, I'm trying to use a for loop with one of my GUILayout.Buttons . But for some reason I'm getting this error cannot convert `char' expression to type `UnityEngine.Texture'. I don't know why...
View ArticleCamera enable/disable problem.
I have this car with some cameras and they need to be disabled when I exit it and enabled when I enter it and change camera view. However I need to use only 2 buttons in order to do it. One for getting...
View ArticlePlayer controller rotate on mousedrag
I have a mouse orbit script locked to my player, and its actually two scripts that interact the camera to the player. The player controller rotates based on right mouse button. if we could stop this...
View ArticleUsing OnCollisionStay as a coroutine.
The docs say that you can use OnCollisionStay as a coroutine if you use yield, but do not describe the semantics of it. This seems like it would be useful to answer questions like "Have these two...
View ArticleAR plugin operating at native camera resolution
we are looking to build an iOS/android app with augmented reality. there are many possibilities with varying levels of support, price, etc. one answer we could not find is: is there a Unity plugin that...
View Articlecambiar métodos de Input? algun consejo?
hi, how is the formula to change input methods? download a project that is interesting to your method .. but this works with the movement of the mouse, and pressing a key .. the question is, how change...
View ArticleTerrain.SetNeighbors causes black lines [Unityscript]
I am using Terrain.SetNeighbors in my code to connect different chunks I am creating using a perlin function of mine. However, whenever I use Terrain.SetNeighbors, I get black shadows in between all of...
View ArticleRaycast misses after camera zoom
Hi there, I have two cameras in my game scene, the main camera and the HUD camera, both orthographic. The HUD camera shows the scores and pause button and the main camera shows the other game objects....
View ArticlePulling an object inside the player
Hello everyone, my question is how to pull an object inside the player (when he catch a star in the game, i want the star to scale down and go inside my player). Thanks the game is 2D and using JS
View ArticleAssetbundle and load object in unity3d
How can I load object in unity3D using javascript. Actually I needed an assetbundle concept. For this I created a exportResource.js file in editor and cachload.js in script.But the connection throws an...
View ArticleFree Version of Android Market by developing registration please confirm that...
We are StartUp Compamy. Free Verion by 30 days after the development and commercialization of Andriod game to try to make sure that I would like to market Raising. After compilation, when the game...
View ArticleGameObject won't turn back on
i have this script #pragma strict var target : Transform; function Start () { } function Update () { if(Physics.Linecast(transform.position, target.position)) { gameObject.SetActive(false); }...
View ArticleScattering of images after play in NGUI
I'm developing a frame of images on a sprite in NGUI. After fitting all the images when I run the application the images scatter.The main problem is that the background of images remains unaltered so...
View ArticleHow to rotate any object and It's direct children that The Player collides with.
I have a sphere(My player) and It's falling with gravity onto these 3D rings I have created. I want to be able to Rotate the rings and all their children with a guiButton(because mobile game) when the...
View ArticleTriggering inputs with a button
Hey all, quick question, For my character movement I want it to use inputs so I can use the built in script, however, I want the movement to be done with RepeatButton(s). Can I use repeatbuttons to...
View ArticleCharacter getting stuck on curbs..
Hey guys, My character works very well except when he hits something tiny, he just gets stuck. How can it automatically move up small things like this? Ive tried a box, capsule and mesh collider and...
View ArticleProblem importing .max files
I am new in unity and trying to import .max file in my unity application but getting error "Max couldn't convert the max file to an fbx file! " and unable to find solution My unity version is 4.0.0f7...
View ArticleHow to make EasyRoads3d work?
I imported the EasyRoads3d package in unity. But when I try to add road marker holding shift and pressing the left mouse button on the desired positions in the scene editor, it does not work. I have a...
View ArticleShadows dissapear when looking directly at it.
I use point light to have a shadow effect from the moon to the earth. I have the camera centered to the earth and I see the shadow, when I press play, the shadow dissapears, when I view the planet at...
View ArticleInstantiating from prefab
using c# private string string_input; i have a game which needs player to type in the alphabets, for eg. 5 letters. then it will instantiate 5 gameobjects from prefab, and if the next questions has 7...
View Article