Augmented Reality Tutorial#6: How to select the car in selection menu in Augmented Reality.

  Рет қаралды 12,840

Augmented Reality Gaming

Augmented Reality Gaming

Күн бұрын

In this tutorial, I am going to show you how to make a selection panel for selecting the car in Augmented Reality.
Please like and subscribe!
Facebook: / augmentedrealitygaming...
Music: Jim Yosef - Can't Wait
Link: / jim-yosef-cant-wait-fe...
Artists: @jim-yosef @annayvette
#Scrip1: CarSelector.
using UnityEngine;
using System.Collections;
public class CarSelector : MonoBehaviour {
public GameObject Car1;
public GameObject Car2;
public GameObject Car3;
public int BallSelected;
// Use this for initialization
void Start () {
Car2.SetActive (false);
Car3.SetActive (false);
}
public void LoadCar1(){
Car1.SetActive (true);
Car2.SetActive (false);
Car3.SetActive (false);
}
public void LoadCar2(){
Car1.SetActive (false);
Car2.SetActive (true);
Car3.SetActive (false);
}
public void LoadCar3(){
Car1.SetActive (false);
Car2.SetActive (false);
Car3.SetActive (true);
}
}
#Script2:Rotate
using UnityEngine;
using System.Collections;
public class Rotate : MonoBehaviour {
// Update is called once per frame
void Update () {
transform.Rotate(0,20*Time.deltaTime,0);
}
}

Пікірлер: 28
@ginnanboy8698
@ginnanboy8698 7 жыл бұрын
Hello, Can you make a tutorial on how to make the augmented 3D object to do some animation with a sound effect (for example, an attack animation) after you say “attack”, on a Android device? (Basically using speech to control your augmented object.) Also it would be cool if you could switch scenes, for example when you say “scene 2” or “next/previous scene”.
@samsundar8696
@samsundar8696 6 жыл бұрын
Wilbert Llama it's very easy . If u still want to know about it , just reply , I'll suggest u some links .
@nahush6299
@nahush6299 4 жыл бұрын
Can u post some links here since I too want to learn it
@mingfenglai2394
@mingfenglai2394 6 жыл бұрын
It only shows one button in my game. How to fix it?
@noorameliamohdnoor282
@noorameliamohdnoor282 4 жыл бұрын
How to make if we click on the red car button.The blue car still remain on there. So that we have two car model on the marker.
@John-ic7dm
@John-ic7dm 5 жыл бұрын
Do you have tutorial videos for item category.. then display the object like furniture app. When I choose Chair button, all of the chair will show up and you will choose object to display.. Im using Unity 3D 2017.3, vuforia, Android Platform.
@creatingvfx
@creatingvfx 6 жыл бұрын
hey its working fine when we do this on image target but when I tried to do this in user difined target script was working everything was working but object is not showing
@vsdesigner
@vsdesigner 7 жыл бұрын
Hello, good work, Is it possible to click the next car to be in the same place as the previous one in rotation? Regards
@AugmentedRealityGaming
@AugmentedRealityGaming 7 жыл бұрын
Vitor Santos i think so. You need to test it by adjusting all the cars at the same position and rotation.
@vsdesigner
@vsdesigner 7 жыл бұрын
Hello, they are in the same position, in case you want I send you the file, I could solve with another tutorial that you have, that this very good, of changing the colors of the car, I bought in the assetStore a realistic car, but I could not change the colors, Regards
@myplaylist3928
@myplaylist3928 7 жыл бұрын
Possible to select phone call button as a selection option in AR? Meaning make phone call in AR?
@AugmentedRealityGaming
@AugmentedRealityGaming 7 жыл бұрын
My PlayList interesting question i will check that out.
@mulagraphics
@mulagraphics 7 жыл бұрын
How do i Keep the object/3D Model on the screen in center even when the target is lost (UNITY + Vuforia) ? plz make video thanks
@mirzaadnanjaved7675
@mirzaadnanjaved7675 4 жыл бұрын
Good work
@abdude100
@abdude100 7 жыл бұрын
what to do if i am using more then 10 cars? making ten buttons would make the camera crowded.. any alternate for this?
@AugmentedRealityGaming
@AugmentedRealityGaming 7 жыл бұрын
abdullah hameed no thats will scaled according to tour mobile screen. and you can set the height and width of the selection panel. so there is no way better than that.
@abdude100
@abdude100 7 жыл бұрын
thanks for your tutorial :)
@sarabeshn.r6830
@sarabeshn.r6830 6 жыл бұрын
try a sub menu or something
@nathanieltutorials1371
@nathanieltutorials1371 7 жыл бұрын
I also did this tutorial but my button are not working (it cannot select a new car) and when the orientation of mobile phone change the buttons disappear. What seems to be the problem? Thanks for the tutorial by the way
@AugmentedRealityGaming
@AugmentedRealityGaming 7 жыл бұрын
Atan Hokage hi, its a complete working tutorial may be you missed something. And for orientation problem. Go to player setting select orientation and then select landscape left.
@nathanieltutorials1371
@nathanieltutorials1371 7 жыл бұрын
thanks for the reply, I will try it now.
@sonywijaya191
@sonywijaya191 5 жыл бұрын
is it possible while it have multi target?
@vedantraopoly2400
@vedantraopoly2400 5 жыл бұрын
Is there a way to stop Rotation? I tried making a function and calling it on a button to do the same. But didn't work out public void StopRotate() { transform.Rotate(0, 0 * Time.deltaTime, 0); }
@sarahmb5008
@sarahmb5008 5 жыл бұрын
don't add the rotate script
@vedantraopoly2400
@vedantraopoly2400 5 жыл бұрын
@@sarahmb5008 I want to start/stop the rotation on click .
@ZertoXMaroc
@ZertoXMaroc 7 жыл бұрын
and OK ?
@gilanger2551
@gilanger2551 6 жыл бұрын
why all button lost after clicking the button ?
Create Simple Animation And Control Using UI Button With Unity 2017.3
13:46
Denys Gamers Tutorial
Рет қаралды 25 М.
Augmented Reality Tutorial#5: Scale and drag multiple objects individually.
13:45
Augmented Reality Gaming
Рет қаралды 16 М.
Don't look down on anyone#devil  #lilith  #funny  #shorts
00:12
Devil Lilith
Рет қаралды 25 МЛН
AUGMENTED REALITY Tutorial: Wikitude Markerless AR SLAM
7:37
MatthewHallberg
Рет қаралды 96 М.
Unity Tutorial, Simple Car Selection With Player Prefs
19:17
How To Augmented Reality User Defined Target With Unity 2017 | 2018
25:49
Denys Gamers Tutorial
Рет қаралды 25 М.
Augmented Reality Tutorial: Vuforia 7 Ground Plane Detection SLAM
29:05
MatthewHallberg
Рет қаралды 112 М.
Augmented Reality Shapes Combined from Trackers Unity3D Vuforia
16:45
Edgaras Artemciukas (OurTechArt)
Рет қаралды 31 М.
How We Made The Club Penguin Avatar
24:58
Chris Hendricks
Рет қаралды 736 М.
How do non-euclidean games work? | Bitwise
14:19
DigiDigger
Рет қаралды 2,4 МЛН
Augmented Reality Tutorial: How To Change Car Textures and Colors.
11:53
Augmented Reality Gaming
Рет қаралды 9 М.
Pixel Art Tips from a Professional Artist - Tips & Tricks
8:01
Goodgis
Рет қаралды 1,1 МЛН