MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / SphereCastAll

Method SphereCastAll

Source/Engine/Physics/Physics.cpp:320–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320bool Physics::SphereCastAll(const Vector3& center, const float radius, const Vector3& direction, Array<RayCastHit>& results, const float maxDistance, uint32 layerMask, bool hitTriggers)
321{
322 CHECK_RETURN_DEBUG(direction.IsNormalized(), false);
323 return DefaultScene->SphereCastAll(center, radius, direction, results, maxDistance, layerMask, hitTriggers);
324}
325
326bool 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{

Callers

nothing calls this directly

Calls 1

IsNormalizedMethod · 0.45

Tested by

no test coverage detected