As you can see the Background ( A Google map ) is two dimensional. While the Player is a 3D Object laying on the ground ( It just Looks like hes Standing ).
Thats working fine so far. But i want that the 3D Character Looks like hes facing a tapped Point on the Background map.
If you have the data for the tapped point on the map and the character’s current position on the map, you can get the difference between them, normalize it, and set the character’s Transform.forward to the resulting vector.
If the map space is oriented differently from the character’s (a direction vector on the map might be in x-y, but the character rotation might need to be about y or in x-z), you can convert the difference vector from the map to an angle, then use that to set the angle of the character. You may need to add a certain number of degrees to the angle before applying it to the character, depending on what the default (0 rotation) direction of the character model is about the y-axis.
If it doesn’t look right because of the way the character is oriented relative to the map, you could apply a simple transformation to the output angle/vector to nudge it closer to the best-looking angle-- we would have to come up with some formula, but it shouldn’t be too hard.