Skip to content

Line Trace to Real Objects #7

@KutlayTunc

Description

@KutlayTunc

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions