Emit laser scope raycast from camera
I can’t find a way to emit a raycast (or laser scope) from the camera. I need it to know what the player is looking at. Is it possible to do that?
-
Currently you cant get this data. I would highly recommend using my first person camera kit, which does have a laser scope pointing where the camera points.
https://indreams.me/element/b7Q3TDd4Mwc -
I'm gonna check how you did it. But I think in general the camera should be treated as an object (so you can place gadgets on it) or have a built-in raycast function. It's frankly a bit surprising that it's not possible to have raycasts from the camera, as it usually is a very common, and useful, tool.
-
Yup, agree completely. There should at the very least be an output of the camera which is the center, as well as the direction.
-
You could use a transmitter to transmit the data to a tag's zone thus acting like the emitter is on the camera
請登入寫評論。