shapeCast abstract method
List<Query3DHit>
shapeCast(
- Shape3D shape,
- Vector3 position,
- Quaternion rotation,
- Vector3 direction, {
- Query3DFilter filter = Query3DFilter.all,
- bool allHits = false,
Sweeps shape from position and rotation along direction. The
closest hit, or every hit nearest first when allHits.
Implementation
List<Query3DHit> shapeCast(
Shape3D shape,
Vector3 position,
Quaternion rotation,
Vector3 direction, {
Query3DFilter filter = Query3DFilter.all,
bool allHits = false,
});