- Home /
Question by
badescuga9 · Sep 12, 2013 at 12:10 PM ·
cameraraycast
weird camera preview behaviour
I have an orthographic camera that looks at an object. The object appears when i start the simulator, but when i look at the camera preview it doesn't appear. i try to perform a raycast and the object responds.
I then move the object on the z axis so that it appears in the camera preview. The object is still viewable in the simulator but now the raycast doesn't work.
What's the problem? Why does the raycast work only when the object is not viewable by the camera preview?
Comment
Your answer
Follow this Question
Related Questions
Raycast From Camera to Object 1 Answer
Creating a teleportation gun 1 Answer
Fire bullet to mouse position in 3d space 1 Answer
Car Camera help needed please 1 Answer