| Parameter | Description |
|---|---|
| bodies | The bodies to retrieve the batch of velocity for. |
| allocator | The memory allocator to use for the results. This can only be Allocator.Temp, Allocator.TempJob or Allocator.Persistent. |
NativeArray<BatchVelocity> The batch of velocity for the specified bodies.
Get the velocity for a batch of PhysicsBody.