I am trying to implement a "Look At" behavior for planes moving around a sphere so they always face the camera.
What I figured out so far, I know the normal that the plane should have and I know that its rotation around its local Z axis should always be 0. I thought it was a pretty trivial operation to figure out the missing rotation values (X, Y) but so far, I found nothing.
So in short : How can I extract orientation information of a plane using its normal and one rotation value?
Or, if anyone has a better solution than using the normal, it would be welcome.
Thanks.