Questions tagged as 'unity3d'

1
answer

How to put a soundtrack?

I'm doing a mobile game on Unity but I can not put a soundtrack, the sound file has already been converted, but I do not know the right command to start playing the track I tried to use audio.PlayOneShot() , but I can not stop th...
asked by 08.12.2014 / 03:08
1
answer

Unity does not update frames by rotating the character with the movement of the mouse

My Unity is not giving error, or anything. Everything is OK, but the character does not move. I already looked at the code and no mistake, I move the mouse and nothing happens to the character. The Unity version is 4.6 and the code is this: p...
asked by 01.03.2015 / 07:03
2
answers

Transform Rotation with Unity3D

I'm trying to develop a game (starting my studies now), and I'm having a hard time: I have a scenario that is basically a planet and on this planet I can put objects that will "look" at the player ... I've been seeing some shapes and the most...
asked by 07.02.2014 / 00:19
3
answers

Doubt of how to capture the animation of the character in the Unity

I'm trying to make a command that activates an animation when I press 2 keyboard keys and when I stop pressing one of them, that animation stops. For example I chose the "w" + "leftShift" key, when both are pressed I want to start the animation,...
asked by 30.10.2018 / 16:56
1
answer

Keeping audio from one scene to another on Unity

I need help. I'm doing a 2D game on Unity. And I'd like to know how I can keep the audio (background music) from one scene to another and keep it from where it left off. And also how I would do to specify the scenes he should continue, and th...
asked by 11.07.2018 / 10:58
1
answer

Nightmares character does not move

I have a problem with the Nightmares game. My character does not move just does the Idle animation. The script is there and seems to have no error. publicclassPlayerMovement:MonoBehaviour{publicfloatspeed=6f;Vector3movement;Animatoran...
asked by 23.07.2015 / 18:11
1
answer

Unity: How to navigate between two points on a sphere?

I need to create a navigation system between two points on a sphere, the problem is that since Unity's NavMesh does not work with spherical objects I have to calculate and manually position the object to its destination. I created a logic tha...
asked by 29.12.2015 / 22:20
1
answer

Make Loading Animated Screen - Unity 5.1

I'm having trouble making a Loading Screen for my game, the game is a bit big so it takes a while to load, even more for being a mobile game. At the moment I'm trying to do this: public bool loading = false; public Texture loadingTexture; publ...
asked by 16.06.2015 / 19:20
1
answer

What is the difference and advantages of SDL and Unity3D?

I wanted to know what the main difference between SDL and Unity3D is in terms of performance and ease of use and when one is better than the other.     
asked by 03.07.2014 / 23:22
2
answers

What is the purpose of the Assets directory?

I'm starting to learn about Unity, and in my first project I had a question about the Assets directory. It contains some files that are scripts in C # of the game, and other files of extension *.asset and *.meta , there are other...
asked by 10.02.2018 / 23:59