OVRPhysicsRaycast where is it called from? — Oculus
Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

OVRPhysicsRaycast where is it called from?

plyrekplyrek Posts: 35
Brain Burst
I am sorry if this question is formulated incorrectly but I am trying to track down how OVRPhysicRaycast works. Specifically I am trying to force the spherecast function to be used rather than the raycast. I am trying to use the built in Unity event system to interact with 3d objects and i have it working but for some reason the raycast is passing through some objects when it hits them at certain angles. I think if I used the spherecaster I could avoid this problem. Unfortunately I can not seem to figure out what determines when it is used or even from where it is invoked. I really don't want to create my own spherecaster because I would like to use the built-in Unity EventSystem.
Like I said at the beginning I could be misconstruing how all of this works but any nudge in the right direction would be appreciated.
Thanks


Sign In or Register to comment.