Chapter 7: Gallery: Editing Virtual Objects
In this chapter, we will continue building the project we started previously in Chapter 6, Gallery: Building an AR App, where we created an AR gallery that lets users place virtual framed photos on their real-world walls. In this chapter, we will build out more features related to interacting with and editing virtual objects that have already been added to a scene. Specifically, we'll let users select an object for editing, including moving, resizing, deleting, and replacing the image in the picture frame. In the process, we'll add new input actions, make use of Unity collision detection, and see more C# coding techniques using the Unity API.
In this chapter, we will cover the following topics:
- Detecting collisions to avoid intersecting objects
- Building an edit mode and edit menu UI
- Using a physics raycast to select an object
- Adding touch input actions to drag to move and pinch to scale
- C# coding and...