Which is the fastest Raycast?

Hello,

through a raycast I want to know which 3D Gui is selected and with which I interact. Currently I’m using “Capsule Trace For Objects”. The GUI Element are very near to the person, so the ray should be short, but I could not find an option for that.

I create a VR Application, so every frame matters. How can I efficient find my 3D GUI widget?

Thats my currently solution:

Greetings!

Can you upload pictures of your game, like when you want to detect 3d widget.

Here you have one example

If you really want efficiency go with C++,

I’d test both out and just write down your FPS. There is a console command for it if you google it.