Join Diego Herrera for an in-depth discussion in this video Sliding side panel, part 2, part of Create Voice Controlled AR Apps 1: Build a Car Showcase Application.
- Okay, here we go, I just want Okay, lets have a bit of a recap now guys. and lots of the tech and the techniques for multiple different types of applications and games. You've probably already got some kind of side project running off in you head of something else that you can do. Now, just look at this actual car performance app for a second and lets see what you've learned. On the intro scene we learnt all about the particle systems and how we can have multiple, and by how simply changing what the actual, the shape of the particle system to give it kind of a glint effect. We've learnt about 3D modeling, rotation, animation, and the toggle function can work fantastically well for another game such as a character selection menu or even an inventory that you can scroll through so that you can reuse this code over and over again for different topics. Now, when we did the main scene, we've learnt all about the Jason, we've learnt how to train the bot. It probably still needs a little bit of work, they are kind of like toddlers and you need to just work with them until they learn it thoroughly. Now we're only scratching the surface of the Wit AI. We haven't looked at something like a chat bot yet or anything like that, this is just simply training it for very basic commands and returning it, but it is possible to be far more complex, you just have to train the bot more, that's all. Now I kept it simple, as I just wanted it to be the kind of introduction project. I know its a big project, because there's a lot to learn but I think it's fantastically flexible. Now you could easily swap this, and have it as a furniture application where you could toggle through different items, and you could place the item of furniture in front of you, change the color of the furniture, and you could even scale it if you wanted to include a cool little plug in which is free in the asset store, called lean touch, that will give you touch controls to actually make the object bigger and smaller on screen. You could adapt it to be a property application. You could adapt it to be pretty much any other kind of business has a product and place it on the table in front of people. You could even have some mobile controls if you wanted to and drive the car around. Now, there's one more thing that I promised I'd do, and that is ground planes. Right, now, Vuforia has the ability to have something called ground planes, and you may have seen this in AR kit, and AR core for android. AR kit's apple for the guys that don't know. Now, what it basically does is, at the moment we're using a user defined target as that's given us the flexibility to go out and about and just use anything with a little bit of detail to fire off the experience. Now, if you've got a mobile phone which is a Samsung S6 upwards, or an iPhone S6 upwards, or one of the Nexus phones, or the Google phones, have a look at Vuforia's website for the list of actual compatible devices, but they have a new chip inside. Now what that does, well, what Vuforia has done, is they've created something called Vuforia Fusion, which means that we can build universally inside Unity, and then when we export to android, it will adapt the code if we're using the high enough API version to make it so that it uses the AR core functions, and if you export to IOS 11, it will use AR kit, which takes advantage of this A9 chip inside the iPhone. Now what does that actually mean? Basically, that there's new technology inside this chip, and they tap into it as it's got higher performance. Now what it does, is you can hold the device in front of you and it will automatically detect the ground and the surfaces around you, and effectively map the actual ground. That means that you don't need an actual user defined target or anything that has remotely the same amount of detail. You can do it straight outside on the middle of the street if you want to, or on some grass somewhere, and just simply hold the device out, a small target will appear on the screen, and when you hit the button, it will place the game object right there in front of you, at whatever size you decide to do it. Now, to demonstrate this, what I'm going to do is go back to the intro scene for a second, and when we click on the vehicles we're going to be presented with a menu that says, are you indoors or outdoors? If you're indoors then it will load the scene that we're currently looking at, the main scene. However, if you're outdoors then it will redirect through to this new AR kit, AR core, ground planes scene. It will look identical to us except it won't have a camera button at the bottom. You'll simply tap on the screen, and it will appear right in front of you once its actually detected the surface which takes about three or four seconds. Now if you don't have one of those devices feel free to have a quick look at the next lecture and just explore and see the potential of what this can actually do. As it stands right now, Vuforia actually offers more support than the list of compatible devices for AR core, and the list of compatible devices from IOS 11. What they've done is they've basically made it it's just not as accurate as if you were using move the object a little bit, and the tracking won't be as good as if you are using one of these new, cool, very expensive phones. Okay, brilliant, so, we've learnt tons. We've learnt tons, lets finish it now, lets finish it. Lets go back to the intro scene, I'm going to add a quick pop up menu and I'm going to show you how to use ground planes and then this section is done. Fantastic guys.