![]() ARCore is Google's framework for building augmented reality experiences on smartphones. You can use Unity's AR Foundation to build cross-platform AR applications. In this codelab, you'll build a simple game using AR Foundation. How to use ARLightEstimationData to light your scene.How to use Raycast to find intersections with virtual geometry.How to use ARPlaneManager to subscribe to new planes.How to set up a project that uses Unity's AR Foundation.React to real-world lighting conditions to give your game extra realism.Cast rays from the camera's view and detect intersections with planes.Detect real-world planes and draw a playing field over it.However, this won't happen in an entirely virtual world! You'll mix physical atoms and digital bits to create a new type of player experience by creating a game that understands the environment around the player.īy the end of this codelab, your game will be able to: The goal of the game is to collect packages using a car that you control using your handheld device. An installation of Unity Hub or Unity 2020 LTS.Google Play Services for AR 1.23 or later.A supported ARCore device, connected using a USB cable to your development machine. In this step, you will get your environment ready for development with Unity's AR Foundation. Ensure your device is compatible with ARĪR experiences on Android devices are driven by ARCore, which is available on ARCore supported devices. Alternatively, you can use a correctly configured AR-compatible Android Emulator instance.Įnsure that your development device is compatible with AR. You will need to enable Developer options on your device to run debug apps. If you haven't done so yet, refer to Android documentation on Enable developer options and USB debugging. On your workstation, install Unity 2020 LTS. In this codelab, screenshots are shown of Unity's UI in the 2020.3 (LTS) version. Other versions of Unity may work, but may require additional steps. It may look different than the screenshots shown here. Create a new projectĬreate a new project using the Universal Render Pipeline template. Give it a descriptive name and an appropriate location, and press CREATE. Unity's AR Foundation can be found in the Unity Package Manager. Open it by clicking on Window > Package Manager.In this window, install the packages you'll be using in this codelab.Install the latest versions for each of these frameworks: View the latest versions of these frameworks by expanding its entry using the ► icon.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |