on touch play animation in android devices.

Hi , Everyone

I want to make app like talking tom for android devices.

so i want to know that how can i play animation when someone touch the body part of the character.

or there’s some another technic to do this like touching on specific parts of the screen.

???

thanx

Well, there are several ways to go about doing this.

Raycasting against colliders on your character to start the animation:

http://unity3d.com/support/documentation/ScriptReference/Physics.Raycast.html

Detecting touch position on a certain area of the screen:

http://unity3d.com/support/documentation/ScriptReference/Touch-position.html

Input.mousePosition tracking:

http://unity3d.com/support/documentation/ScriptReference/Input-mousePosition.html

As far as getting these to work, look at some tutorials. These are basics that you should learn on your own.