Batching raycasts

Is there a way to utilize PhysX’s raycast batching in Unity?

https://developer.nvidia.com/sites/default/files/akamai/physx/Manual/SceneQuery.html

If not, are there any plans to add it in?

2 Likes

Made a feature request here:

http://feedback.unity3d.com/suggestions/enable-physx-raycast-batching

Yes. I am upvoting this one.

There are many scenarios where you shoot many rays at once. So it would provide a good speed up!

1 Like

Thanks man.

Hopefully it shouldn’t be too hard or time-consuming to implement. The functionality is already there, it’s basically just about wrapping and interfacing it to C#… As Unity is working on implementing a newer PhysX version, it would be a good time to incorporate features such as this one.