Hi, i wonder if anyone could help.
I am adding features to a game I’m working on and this feature involves a mobile phone in the game which the character can make or receive calls, and messages.
However the phone is in 3D space parented to the Camera, which is in turn (the camera) is parented to the player and (the Phone) is situated just behind the player and in front of the camera. When the phone is summoned I just make it visible and a small sliding animation positions it just in front of the Camera.
The Icons are 2D and these have PolygonCollider2D to detect which Icon was pressed when the finger is over it.
Likewise the finger at it’s tip has a 2D Polygon collider. But as the character moves around the envorinment, making rotations on the Y axis, so does the Camera and in turn the phone which changes the PolygonCollider2D which do not seem to rotate with the Icons.
So when facing in one direction, it works perfectly but in other directions it does not. Is there a way to overcome this? Any suggestions would be appreciated.
A video of it in action:
