Is there a way to record a video of the ray casted from Debug.Drawray? I know that Debug,Drawray does not appear in the game view, so I would like to make a video recording of the ray in a different view point. Hope somebody can help… Thank you!
Hi @DevDunk
When I tried using line renderer, it shows in the game view. My intention is to not show it in the game view because in my VR experiment, participants should not see the rays. Therefore, I used debug.ray to cast the rays without showing it in the game view. Looking forward to your response. Thank you!
Maybe have a spectator camera which does render a layer and cull the line from the VR camera?
If that’s not what you’re looking for I’m afraid I lost you on what you want to do
Hi @DevDunk
Yes that is exactly what I want to do. How do I render a layer of the debug.drawray in the spectator camera and cull the line from the VR camera?