Is it possible to run several line traces (as in UWorld::LineTraceSingleByChannel) in batch?
I’m looking for something similar to Unity’s API function RaycastCommand.ScheduleBatch. I looked into both the low level and high level chaos API in the Unreal Engine 5.6 source code but couldn’t find anything similar.
Interestingly, I found in the engine source code inUDeformableGameplayComponent::DetectEnvironmentCollisions
(a component used in the Chaos Flesh system), that they are are batching a bunch of line traces using Chaos::PhysicsParallelForRange
. Because this is code from engine source code, I assume this would be the preferred way of batching multiple line traces, however I was wondering if there is another way or some function exposed through some API that is more similar to RaycastCommand.ScheduleBatch.