How can I make a curved ray?

Hey, I have a pretty specific case here that I need to use a curved raycast, but seems like this is not something usual, was wondering if thats possible or the possible strategies to kinda emulate that behavior :thinking:

Thought some solutions, like concatenate some rays to simulate the curve pattern but it sounded like a work around for me instead a proper solution so wanted to ask before move forward!

I use the workaround solution :wink: Using Havok raycasts on BABYLON.Curve3. No frame drops.

3 Likes