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

Method BoxCastAll

Source/Engine/Physics/Physics.cpp:302–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302bool 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
308bool Physics::SphereCast(const Vector3& center, const float radius, const Vector3& direction, const float maxDistance, uint32 layerMask, bool hitTriggers)
309{

Callers

nothing calls this directly

Calls 1

IsNormalizedMethod · 0.45

Tested by

no test coverage detected