I have three characters and I want them to be rotated in a circular motion with their faces turning towards camera. The user can select the one .For example refer the below image ., If I swipe left or right the rotation should exactly position the other corner in either way provided the characters are placed on the corners. .Can u ppl suggest any ideas
Animate the three characters rotating 120° left and right, so 6 animations would be needed.
Code the 120° rotations over time (see the API Transform details for methods to do this).
So the above assumes you have a central pivot GameObject then the three characters under that pivot.
To keep the characters looking at the camera there is a Transform.LookAt function.
Hope this helps.
PS. Third option have your animator do the animations, if they are good they will probably add cool things e.g. the characters walk/dance/jump to the desired location with a style that reflects their character.