Personalise Characters in Unity 2D? Is it possible?

For mobile game development, is it possible to personalise a character with the use of the mobile device camera om Unity 2D so that it appears like you are playing as yourself?

The process would involve the player taking an in-game photo of themselves. Logic would then be applied to crop and position the image on top of a generic body. From here, the playable character would move as if the body and their own face was one single image. Using an example like old school Street Fighter, my face would be on top of a body and would move left/right/jump/crouch with the body.

Does anyone know if this is achievable at all? Perhaps even with the use of other software combined with Unity?

I think it is definitely achievable, you would probably have to look into the documentation quite heavily. At a quick glance it looks as if you’d probably have to use Unity - Scripting API: WebCamTexture.devices or something similar for the various platforms.

Thanks chambers for clarifying that for me. I’ve already created a sample beat em up game with a headless character. Sadly, the knowledge to feature a customised head on the character is beyond me.

Has anyone done or know of something like this? Any support would be appreciated.