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

Method RayCastAll

Source/Engine/Physics/Physics.cpp:284–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284bool Physics::RayCastAll(const Vector3& origin, const Vector3& direction, Array<RayCastHit>& results, const float maxDistance, uint32 layerMask, bool hitTriggers)
285{
286 CHECK_RETURN_DEBUG(direction.IsNormalized(), false);
287 return DefaultScene->RayCastAll(origin, direction, results, maxDistance, layerMask, hitTriggers);
288}
289
290bool Physics::BoxCast(const Vector3& center, const Vector3& halfExtents, const Vector3& direction, const Quaternion& rotation, const float maxDistance, uint32 layerMask, bool hitTriggers)
291{

Callers

nothing calls this directly

Calls 1

IsNormalizedMethod · 0.45

Tested by

no test coverage detected