Is it possible to get the PhysicsRaycaster's RaycastHit

I’d like to get the point of the hit on a world object that I am clicking on via the UI EventSystem and PhysicsRaycaster. The PointerEventData holds a world position but that’s the center of the object I just clicked, not the point of collision. There’s also a RaycastResult object but this object has no RaycastHit property.

Is there a reason why I can’t acces a RaycastHit that the PhysicsRaycaster is handling anyway ? Right now I have to get the click event and do my own raycast from the cursor position to get the point of collision.

there’s not real reason we can’t expose this. could you submit a feature request through the bug reporting system.

I added it through the Feedback page ; http://feedback.unity3d.com/suggestions/expose-raycasthit-object-for-current-raycast-in-pointereventdata

Thank you!

Personally i’d still do one through the bug reporter. The feedback is great and all just sometimes take a lower priority then on in the bug db