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

Method CapsuleCast

Source/Engine/Physics/Physics.cpp:326–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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{
328 CHECK_RETURN_DEBUG(direction.IsNormalized(), false);
329 return DefaultScene->CapsuleCast(center, radius, height, direction, rotation, maxDistance, layerMask, hitTriggers);
330}
331
332bool 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{

Callers

nothing calls this directly

Calls 1

IsNormalizedMethod · 0.45

Tested by

no test coverage detected