Questions tagged as 'unity3d'

1
answer

Why do I need to run this code twice to rotate the 3d object? [closed]

My code is a gambiarra, but I only managed it the way it is below. In addition I have to run twice to be able to rotate the object and I do not know why. I would like to understand what happens here. var device3d = helixViewport3D.Childr...
asked by 06.01.2017 / 23:38
1
answer

Get position prefab and compare with other prefab within a grid? Unity 3D

I'm developing a tetris-style game, but geared towards chemistry. Instead of missing a complete line and punctuating, the user needs to form a molecule. For this, each element (H and C) is a different prefab. With this I need to identify if the...
asked by 05.04.2016 / 19:52
1
answer

Error in Unity3D

How can I fix this error? I did not find anything on the internet ... this is the script 'using UnityEngine; using UnityEngine.AI; public class BlueCubeBehaviour: MonoBehaviour { private Rigidbody BlueCubeMovement; private NavMeshAgent F...
asked by 11.11.2018 / 04:09
2
answers

Unity3D - Problem with authenticating the BitRave plugin for Azure connection

I'm following the tutorial: > At the moment of logging into Unity Editor, the message "Response is: Unauthorized" is displayed. I've done the tutorial several times and still can not find the problem. Can you help me?     
asked by 13.01.2015 / 17:29
1
answer

What size should I use for 3d models imported into Unity 3D?

I'm starting a new project on Unity 3D using free 3d models from the internet, I imported a building but when I went to open in Unity it was gigantic compared to the standard Unity character! My question is if I should lower the building or incr...
asked by 10.06.2018 / 00:21
1
answer

Help with rotation (Quaternion.Slarp) in Unity

I want to make my object spin 120 degrees and set a time for it. but instead of turning 120 degrees it goes to 120 degree. How to fix it? Transform inicial; float tempo; float angle; void Start () { inicial = GetComponent<Transform>(...
asked by 19.12.2018 / 22:23
1
answer

How to initialize the webcam in a Unity3D application?

I'm creating an Augmented Reality application using Unity and Vuforia. The application uses a webcam, in Unity running the tests it is working, however when I export the application to Windows only a black screen appears, because the webcam does...
asked by 13.04.2016 / 16:31
1
answer

Unity code does not compile [closed]

using UnityEngine; using System.Collections; public class Player : MovingObject { public int pointsPerFood = 10; // Numero de pontos cada vez que pegar comida. public int pointsPerSoda = 20; // "" pegar Soda. public int wallDamage =...
asked by 06.09.2015 / 19:51
1
answer

Compile error in code in Unity [duplicate]

ThisislikeusingUnityEngine;publicclassPlayerMovement:MonoBehaviour{voidAwack(){floorMask=LayerMask.GetMask("Floor"); anim = getComponet <Animator> (); playerRigidbody = GetComponent <Rigidbody> (); }...
asked by 04.09.2015 / 20:35
2
answers

Object orientation is the part of C # used for games? [closed]

That there are differences between the C # language for form programming and for other areas, I have notion, but I have a question: Is object orientation the part used for programming games? If not: What is the purpose of Object Orientation?   ...
asked by 26.05.2017 / 11:43