-
Notifications
You must be signed in to change notification settings - Fork 4
Line Trace to Real Objects #7
Copy link
Copy link
Open
Description
Hello people,
I am using Unreal Engine 5.5.2 with MetaXR 72.0.1.
I have been experimenting with this project for a while, but I couldn't find a way to perform a line trace in the real world. The Depth API documentation mentions that ray cast can be used, but I couldn't find any information on how to do it. I also couldn't spot anything related to this in the project's programming.
Simply put, I want to cast a line trace forward from the camera and have it collide with real-world objects based on depth information (for example, a stationary wardrobe or a moving ball). This way, I can determine how far the object is from the camera.
If you could point me to a resource or provide guidance, I would greatly appreciate it. Thanks in advance!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels