Posts by Nils • 663 points
17 posts
-
1
votes1
answer313
viewsA: Unity error "Animator"
You need to create a condition for it to change state for Death animation. That is, you a fixed time has exit time no inspector or you should criar um parâmetro and set it up for that transition,…
-
2
votes1
answer95
viewsA: Method that counts the frames of a C#Augmented Reality scene
One way to find these values in Unity is to use the method Update() , it is inside the tool and is called each time a frame is created. To know the total number of frames that were generated, we can…
-
2
votes1
answer745
viewsA: How to create the game floor with a random Prefab
Can I make a suggestion? Create a class that will manage your 'Map' Otherwise skip to part two. 1 - Map Class add two components, let’s use them to draw a random number and put together a list.…
-
2
votes1
answer651
viewsA: Nightmares - Character does not move, stopped in Idle animation
The problem is in the code, see: void FixedUpadate() It is an internal function of Unity, and must be written correctly. void FixedUpdate() See how to use it:…
-
2
votes1
answer1831
viewsA: Move character to the point in Unity3d
You need to know what effect you want when walking with your character because there are several solutions. And they all depend on what you want to do. The easiest ones are. The first is to use a…
-
1
votes1
answer114
viewsA: I’m creating a queue, and I can’t develop function logic for the previous object to assume the new position released - C#
Great tip: only use array for one-size structures that do not need modification, for variable sizes and other strings use "List" is much easier and you will have great processing savings. You will…
-
1
votes1
answer244
viewsA: Method to take life of the Player does not work
There are some mistakes, and some things that could improve. I recommend giving a look at this videothat will help a little on the subject, and solve all your problems. Some guidelines: 1. ph =…
-
2
votes1
answer162
viewsA: Unity 3D (5) Locking on IOS
It can be a lot of problems, from your version of Unity to the configuration and status of your iOS device. I recommend running Unity profiler to investigate this problem further.…
-
1
votes2
answers300
viewsA: I installed Unity and gave error, I can not view the demo of the game nor put the scripts
The first mistake is that you are using an old project, and have not converted it to work in Unity 5. The second is similar, the difference is that he calls for a method and does not find. When you…
-
1
votes1
answer417
viewsA: Unity Error CS0103: The name 'newRotation' does not exist in the current context
There’s a mistake on line 61 61 Quaternion nevRotation = Quaternion.LookRotation(playerToMouse); 62 playerRigidbody.MoveRotation(newRotation); You wrote nevRotation for the variable name, and when…
-
1
votes1
answer458
viewsA: How can I be solving these Errors in Unity 5 and adding these components?
How to resolve the error This error occurs because you did not convert when you had this project opened in Unity 5. When you open a project from an old version of Unity, it will say that there are…
-
7
votes2
answers6698
viewsA: How to turn a "Unity Project" into an . EXE?
Export your Unity project to available platforms Contents Premises Configure the Player To Export Standalone - Windows, Mac & Linux Android. iOS. Updated to Unity 5.0.0. Premises To export your…
-
-1
votes1
answer1182
viewsA: Navmesh Asset format has changed. Please rebake the Navmesh data
This is an error that happens when you migrate to version 5 of Unity from an old project. It has nothing to do with path or executable NavMesh asset format has changed. Please rebake the NavMesh…
-
5
votes1
answer13084
viewsA: Unity - Error: Object Reference not set to an instance of an Object - Instantiate
Understanding the Problem The mistake Object reference not set to an instance of an object happens when you work with some variable that has not been instantiated. In Unity the method Instantiate…
-
7
votes1
answer369
viewsA: Character Camera does not move!
The problem is with your Floor object(Quad). When you use a Raycast coming out of the camera on void Turning(){ ... if (Physics.Raycast (camRay, out floorHit, camRayLenght, floorMask)) { ... } } You…
-
4
votes1
answer314
viewsA: Unity does not update frames when rotating the character with mouse movement
The mistake is in: void FixUpdate(){ float h = Input.GetAxisRaw ("Horizontal"); float v = Input.GetAxisRaw ("Vertical"); Move (h, v); Turning (); Animating (h, v); } Unity uses an internal function…
-
6
votes1
answer3240
viewsA: How to rotate the character as the mouse moves?
I think I know the problem, in: void Awake() { //Atribuir a mascara da camada floorMask = LayerMask.GetMask ("floor"); //Atribuir as referencias anim = GetComponent <Animator> ();…