|
This should be an easy one, but i can't figure out whats going on. I have a plane that gets created in front of my camera. I use look at in the direction of the camera, but the surface faces up instead of at my camera. The only thing i can think of is that the edge of the plane is facing the camera, not sure why this would be the case.
(comments are locked)
|
|
LookAt will not work in this case, because it points the forward local direction to the target, but the plane normal is the up local direction. You should rotate the up vector to the camera, like this: Once again you come through with another great answer! Thank you thank you thank you.
Mar 07 '12 at 11:37 PM
hijinxbassist
Exactly the issue I had as well, Thank you!
Jul 19 '12 at 12:21 PM
jaycode
(comments are locked)
|
