Playmaker Forum

PlayMaker Help & Tips => Android Help => Topic started by: lpking2005 on June 19, 2014, 12:44:12 PM

Title: Rotate a gameobject using touch
Post by: lpking2005 on June 19, 2014, 12:44:12 PM
Hi, All...

I am just playing around with touch interfaces at the moment.

I have a scene with a cube and i would like to be able to rotate the cube in any direction using touch input.

I would ideally like it to be able to hold my finger on screen and have it move in whatever direction my finger is moving in without taking my finger off the screen.

Is this possible? and where to start?

Thanks!
Title: Re: Rotate a gameobject using touch
Post by: ProgrammerInTraining on June 19, 2014, 06:00:55 PM
see this tutorial:

http://www.hutonggames.com/tutorials_ios_fundamentals.php