| 324 | } |
| 325 | |
| 326 | bool Physics::CapsuleCast(const Vector3& center, const float radius, const float height, const Vector3& direction, const Quaternion& rotation, const float maxDistance, uint32 layerMask, bool hitTriggers) |
| 327 | { |
| 328 | CHECK_RETURN_DEBUG(direction.IsNormalized(), false); |
| 329 | return DefaultScene->CapsuleCast(center, radius, height, direction, rotation, maxDistance, layerMask, hitTriggers); |
| 330 | } |
| 331 | |
| 332 | bool Physics::CapsuleCast(const Vector3& center, const float radius, const float height, const Vector3& direction, RayCastHit& hitInfo, const Quaternion& rotation, const float maxDistance, uint32 layerMask, bool hitTriggers) |
| 333 | { |
nothing calls this directly
no test coverage detected