Quantcast
Channel: AR/VR (XR) Discussion
Viewing all articles
Browse latest Browse all 12131

Limit the Raycast interaction distance in the current VR Gaze Input Module?

$
0
0
Searching the forums did not yield an answer, unless I overlooked something.
Limiting the distance in which the raycasts react to object would be very useful, in that it it allows the player to interact with close objects, but not unintentionally trigger clicks on objects far away.
I am familiar with https://docs.unity3d.com/ScriptReference/Physics.Raycast.html and the code example below but the VR Gaze Input module does not appear to contain code that defines the distance.

My...

Limit the Raycast interaction distance in the current VR Gaze Input Module?

Viewing all articles
Browse latest Browse all 12131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>