To make the model rotate in unity 3d?

Hi all.
Playing with vuforia. And that loaded the model in unity, and run the program, the marker finds the model shows all is well. How to make the model rotate on its axis?
June 27th 19 at 15:21
2 answers
June 27th 19 at 15:23
Very simple to hang on it the animation looped.
Can simply in the script to add the rotation.

Now you instanceroot model on the marker. and will instantiate prefab consisting of models with animations/script

If lost uforia and marker and so on, then how to implement described above - too right I think)
Hehe, ID not compatible)
I think both can be done at raspoznanie token, the model appears and then a script which will start to rotate the model.
And what script is necessary))? - noel.Schmeler83 commented on June 27th 19 at 15:26
what you have is a model? this is what those c trasforma GameObject with a mesh renderer?
You need the script that it itself is rotated or you need some input method?

just when exactly https://docs.unity3d.com/ScriptReference/Transform... here is the documentation - earline.Fad commented on June 27th 19 at 15:29
not quite understand what you mean by "c trasforma GameObject with a mesh renderer?"
just 3dmodel downloaded from the Internet.
And the script just rotates with some speed on the spot. - noel.Schmeler83 commented on June 27th 19 at 15:32
um, if you have no understanding about what I am "c trasforma GameObject with a mesh renderer"
then you would be in unity the easiest banal lesson of what to watch. to work in the editor.
How to create object on the scene, how components work. what are the main components.
On the site, yuniti a lot of video lessons for beginners
or Google for the queue and nauchites
-how to create a 3D object in the scene
-how to create/to put a script on the object
-how to save/create and use a prefab

in General good luck and success in moving up to the level of basic knowledge)
It's funny that at the same time to learn Bufori you managed) although they have a good tutorial and you just clicked the pictures repeated...then the bole for the future of something - pull the basics of Unity - earline.Fad commented on June 27th 19 at 15:35
: Yes, I looked remember. repeated.
And you do not know how to do that:
There is a ui button. and when you click on it to close other ui elements.
The button was tied to a button. stroke is also made(like the area where the button is).
You do not have a script of this kind that would be when you click on this loaf worked
layout.gameObject.SetActive(false); - noel.Schmeler83 commented on June 27th 19 at 15:38
June 27th 19 at 15:25
Not quite understand the question, open it more please.

But if short models displayed at the target you can interact using the normal functions of unity. There is no difference.

Find more questions by tags Unity Game EngineAugmented reality