This is what we gonna create. Moving, rotating, and scalling object by touch the screen
Intro
Welcome to Maballo NET
in this session we will learn how to moving, rotating and scalling object by touching the screen on smartphone
lets open up our Augmented Reality project
click Asset Store Menu
type "lean touch" on input search field then Enter
scoliing down, then click the Lean Touch
click Import
click Import Button
now we have a new Folder called LeanTouch
open that folder
then open Scripts folder
on the Hierarchy please right click on your mouse then click CreateEmpty to create new Empty Object
drag the LeanTouch.cs to the GameObject that we just created
back to lean touch folder
change the view to List view by draging the scroll botton to the left
open the Example folder then scroll down
open the Image Target
drag the SimpleMove.cs to 3D object (not Image Target)
then drag SimpleRotateScale.cs to 3D object
now we see the scripts already attached to the 3D object
Click File menu then click Build&Setting. Swich to Android platform
make sure you already swich the platform to Android platform
click Player Setting
Change the Company Name
change the Identifier Name
you can also change the icon of apk
after we finish setting up the PlayerSetting, we click the Build button
change the name of apk to what ever you want
then click save button
after the Build finished. Open the directory
send the apk to your smartphone then installing it
i will send the apk using Air Droid
i will mirroring my smartphone on my Laptop
my smartphone was mirrored on my laptop
lets installing the apk
install the apk
installing processing
open the application
open the Image Target
you can see the object was poped up on the Image Target
scalling the object by two finggers on your smartphone
rotating the object by two finggers on you smarphone
move the object using one fingger by dragging to other place
Please subscribe to watch updated videos from Maballo NET
Thanks for watching :)
