Unity Billboard Rotating Strangely

Hi! I have been working on my 7DFPS game, which uses sprites. I am now trying to add billboards to the sprites… but whenever I do they act funny. I know exactly why. It is because my sprite is on a plane that I rotated 180 degrees on the Y axis to face the player. The billboard thinks that the untextured (front) is the side that should be facing me. But I need the side with the texture to face me.

I have tried putting the plane in an empty game object and placing the script on that, and I have tried un-rotating the object, to no avail.

Thanks. (basically no matter what I do the side without a texture / the side that is invisible (only one side of a plane is visible) is the one facing me.)

I use C#, if you give any code.

Posting your code would help get you an accurate answer. But as an educated guess, try this:

Vector3 dir = transform.position - Camera.main.transform.position;
dir.y = 0.0;
transform.rotation = Quaternion.LookRotation(dir);

This code assumes first person player walking on the XZ plane with the planes ‘backwards’ such as the planes produced by the CreatePlane editor script.