Search⌘ K

Model Drag, Scale, and Rotate

Discover how to add drag, scale, and rotate controls to AR objects in Unity using the Lean Touch plugin. This lesson guides you through importing the asset, configuring it, and customizing your AR Prefab to enhance user interaction across devices.

In this lesson, we will explore how to enable the drag, scale, and rotate functionalities for a GameObject in our AR app. While these features can be implemented using code, we can achieve a more efficient and straightforward solution by utilizing a third-party plugin called Lean Touch. Lean Touch provides touch control functionality without the need for writing extensive code. With Lean Touch, we can easily add touch controls to our game and enjoy consistent controls across Android, iOS, and desktop platforms. We can find the Lean Touch asset on the Unity Asset Store by clicking Lean Touch.

Method to set up the drag, scale,

...