Post

Replies

Boosts

Views

Activity

VisionOS raycast from screen coordinate
Hi. I am trying to implement a drag and drop system using RealityView with a model pinning to a plane in the scene. For that I want to do a raycast from the center of the object I am currently dragging to a plane in the scene. My idea was to convert the object position to screen coordinates first and then do a raycast into the scene from the screen to understand if the object I am dragging is above a certain plane. The issue I am having is I can't seem to find a way to convert the position of the object in the scene to screen space. Is there an API for that?
0
0
495
Mar ’24