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

Method BoxCast

Source/Engine/Physics/Physics.cpp:290–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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{
292 CHECK_RETURN_DEBUG(direction.IsNormalized(), false);
293 return DefaultScene->BoxCast(center, halfExtents, direction, rotation, maxDistance, layerMask, hitTriggers);
294}
295
296bool Physics::BoxCast(const Vector3& center, const Vector3& halfExtents, const Vector3& direction, RayCastHit& hitInfo, const Quaternion& rotation, const float maxDistance, uint32 layerMask, bool hitTriggers)
297{

Callers

nothing calls this directly

Calls 1

IsNormalizedMethod · 0.45

Tested by

no test coverage detected