Copies into &outArray a handle to every entity-body that intersects the line segment whose end points are a and b.
&outArray
a
b
Notice that the intersection tests are only performed on entities that have physics-simulated bodies.