| 300 | } |
| 301 | |
| 302 | bool Physics::BoxCastAll(const Vector3& center, const Vector3& halfExtents, const Vector3& direction, Array<RayCastHit>& results, const Quaternion& rotation, const float maxDistance, uint32 layerMask, bool hitTriggers) |
| 303 | { |
| 304 | CHECK_RETURN_DEBUG(direction.IsNormalized(), false); |
| 305 | return DefaultScene->BoxCastAll(center, halfExtents, direction, results, rotation, maxDistance, layerMask, hitTriggers); |
| 306 | } |
| 307 | |
| 308 | bool Physics::SphereCast(const Vector3& center, const float radius, const Vector3& direction, const float maxDistance, uint32 layerMask, bool hitTriggers) |
| 309 | { |
nothing calls this directly
no test coverage detected