Quantcast
Channel: Latest Questions on Unity Answers
Browsing all 171066 articles
Browse latest View live
↧

Help with mobile character animations

hello all, I'm new in Unity. I have a character which controls by two joysticks. My character model has no his own animation and I put him animation from another model. Mecanim, humanoid etc. First...

View Article


How do I make a new game and loadgame button and make it jump to scene

On my title screen how do I make a load game and new game button and script and make it jump to a scene.

View Article


How to instantiate a gameobject by aligning it to another one

Hello. I'm new in Unity3D. I'm developing a top-down game (2D Game). I have a floor prefab and I want to instantiate it, but its spawn position in YAxis has to be upper edge of previous floor prefab....

View Article

How Do I Make A cube into a button?

Make a cube into a button to make it go to the next scene.

View Article

2D physics vehicle with only one wheel help!

Hey im making a 2D racing game with vehicles with only 1 wheel (like segways or one wheel bicycle)and i have the problem since the vehicle is 2 parts the wheel and the body the body either tips over or...

View Article


Moving a character

Hi there, I'm just wondering how to move a character with a third person view and controlling the camera with the mouse. That is when I press right arrow (-->) key,the character should move right...

View Article

How do I change the fps camera character.

How do I set a model I have already created to be the player

View Article

C# to Jacascript

Hello, Can someone rewrite these lines of code from C# to Javascript? Vector3 enemyScale = transform.localScale; enemyScale.x *= -1; transform.localScale = enemyScale;

View Article


How to add demo scene to Unity Asset Store?

I have a demo scene for my Unity Asset Store project. How can I upload it to my project page so people can try it out?

View Article


Letting my object "see".

I want my object to detect another specific object only if there is a clear "line of sight" between them (I.e. no intervening objects). Seems sile but I can't figure out a straightforward way to do it....

View Article

monodeveloper not working

I have framework and the glibsharglue-2dll file but my monodeveloper still won't open and it gives no erorr message

View Article

Loosing sprite association when transferring prefab

Hey, it is me again (GlobalGameJam forces me here today) We are currently trying to transfer some of the prefabs we build from one machine to another. A prefab in this case is a main object with some...

View Article

Error CS0841: A local Variable 'cnt' cannot be used before it is declared

private void SetupPrimaryAttributes() { for (int cnt= 0; cnt < _primaryAttribute.Length; cnt++) _primaryAttribute[cnt] = new Attribute(); _primaryAttribute[cnt].Name =...

View Article


Why are all clones moving when one should be moving

Hello, I am trying to swap the position of two objects, but all my objects are clones of a prefab and they all share the same script so when I click on one object to move it all of the objects move....

View Article

Minimap - drawing the main Camera's projection zone?

Apologies for the vague title - to explain, I've got 2 camera's on my scene. One acting as a minimap in the bottom right corner, and then of course, the main camera for the player to control. The game...

View Article


C# Spawn random 2D sprites (repair my script)

using UnityEngine; using System.Collections; public class AsteriodPart : MonoBehaviour { public float count; public float heightVariantPos; public float heightVariantNeg; public float widthVariantPos;...

View Article

How Do I Make This Type Of Main Menu?

Hi, I have trying to find out how to make this main menu. ![From Rust.][1] [1]: http://i.imgur.com/RdlPaMA.png

View Article


My main Data Prevents the Game from starting

When i start the Game it gives Could not preload global game manager #11 But when i remove the latest maindata and replace it with a older version the game works but i need the latest version Could...

View Article

Moving a gameobject using GUI texture

Hi! I am a newbie in Unity and I'm having a very hard time for this problem. My goal is to make my gameobject (specifically, a sphere for trial with a name "ball") move when I click on the GUI Texture....

View Article

Allow users to input a list?

I need some way to allow users to input a list of strings with the keyboard. I can't think of any way to do this. I haven't been able to work on my app for days. Thanks

View Article
Browsing all 171066 articles
Browse latest View live