How to rotate and move object use dual joysticks in Iphone

I would like to using dual joysticks in iPhone and one for moving object, other joystick for rotation.

Would you give me the example code in Java?

I am looking for the script which the object can face to the joystick moving location.

Thanks in advance. :-)

Hi,

The best examples are in the resources on Unitwebsites:

http://unity3d.com/support/resources/example-projects/iphone-examples

Hope this helps, if you have already looked at them, can you be more specific as to what you don't understand in how the joysticks scripts works?

Bye,

Jean

I’ve made few tutorials on dragging and rotating an object by touch(Unity iOS).

These are the Youtube videos:

Dragging

Rotating

Get the source code from my website:

http://www.revelopment.co.uk

Hope it helps.