Model Drag, Scale, and Rotate
Learn how to drag, scale, and rotate GameObjects in AR.
We'll cover the following
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
, and rotate
functionalities
We will go through a step-by-step process to configure the drag
, scale
, and rotate
functionalities for the wolf Prefab in our AR scene. Let’s get started!
Download and import the asset
Get hands-on with 1400+ tech skills courses.