Topic locked

transform.LookAt(Camera.main.transform); loses Video

November 24, 2014 - 4:13am #1

I have a video on a cube face that when leaving cube static works a treat.  Hoever I want the cube/video to always face the users and so use the transform.LookAt(Camera.main.transform); call but when I do this the only the cube appears and does follow the camera....but the video has gone?

 

If  I remove the look at call the video returns?

transform.LookAt(Camera.main.transform); loses Video

December 4, 2014 - 6:36am #4

;-)

transform.LookAt(Camera.main.transform); loses Video

December 2, 2014 - 2:24pm #3

you were correct!  Thank you 

transform.LookAt(Camera.main.transform); loses Video

November 26, 2014 - 1:04pm #2

This question is about Unity programming.

It sounds like the video might be just on the face of the cube which is not facing the camera (e.g. the opposite face) when you use the LookAt function, and so you don't see it.. Could it be something like that ?

 

 

 

Topic locked