Quantcast
Channel: Latest Questions by Veehmot
Viewing all articles
Browse latest Browse all 38

Intersection point of mouse with ZX plane

$
0
0
I have worldRay = HandleUtility.GUIPointToWorldRay(current.mousePosition); On my **OnSceneGUI** function. How can I get the intersection point of the mouse with the ZX plane? The plane isn't there, it extends virtually to the infinite. I tried worldRay.GetPoint(0f); And it works great if I use the **Top** camera, but if I move the camera a little the value is inconsistent.

Viewing all articles
Browse latest Browse all 38

Trending Articles



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