raycast abstract method
Implementation
RaycastHit? raycast(
Ray ray, {
double maxDistance = double.infinity,
int layerMask = 0xFFFFFFFF,
bool includeFixed = true,
bool includeKinematic = true,
bool includeDynamic = true,
bool includeTriggers = false,
});