Searches for the first physics body that intersects a ray.
- iOS 7.0+
- macOS 10.9+
- tvOS 9.0+
- watchOS 3.0+
The starting point for the ray in scene coordinates.
The ending point for the ray in scene coordinates.
The first physics body discovered that intersects the ray. This may be any body along the ray; it is not guaranteed to be the closest physics body. If no body intersects the ray, this method returns