Touch input is crucial to your application. In this video, learn about and create a strategy to deal with simple touch data in Unity.
- [Instructor] To use input from our AR capable device, … we'll be using the Unity Input class. … The Unity Input class has many different methods … that you can use that are super useful. … We're going to be using the Input.getMouseButtonPosition, … and the Input.GetMouseButtonDown classes. … These will help us identify where the touch originated from, … and when a touch happens. … If you need to go deeper … into using touches on mobile devices, … take a look at input.touches. … Now for our first task … of aligning our asset to our AR world, … we're going to be trying to figure out … where the ground is. … AR can't automatically identify where the ground is. … The ground is a human concept, usually where your feet are, … so we're going to set the ground. … Our strategy to do this, … is to cast the ray from where the user touches, … check for intersection of the plane, … and then move our object to that world origin, … that being the jet engine. … Now let's get on with making the script to do this work. …
- The value of mobile AR in AEC
- Setting up AR in Unity
- Configuring Unity to build for iOS
- Running your AR app on Android devices
- Working with Unity AR Remote
- Setting up your UI for an application log screen
- Aligning your assets to your AR world
- Creating the dialog UI
- Importing CAD data
Skill Level Intermediate
Unity: AR Visualization 02 Basic Interactivitywith Roger Miller2h 39m Intermediate
Unity: AR Visualization 03 Complex Interactivitywith Roger Miller2h 34m Intermediate
2. Setting Up AR in Unity
3. Publishing Your AR Experience
4. Getting Going with Unity AR Remote
5. Populating Your AR World
6. Adding Simple Interaction
7. Bonus: Importing CAD Data
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.