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

Method CapsuleCastAll

Source/Engine/Physics/Physics.cpp:338–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338bool Physics::CapsuleCastAll(const Vector3& center, const float radius, const float height, const Vector3& direction, Array<RayCastHit>& results, const Quaternion& rotation, const float maxDistance, uint32 layerMask, bool hitTriggers)
339{
340 CHECK_RETURN_DEBUG(direction.IsNormalized(), false);
341 return DefaultScene->CapsuleCastAll(center, radius, height, direction, results, rotation, maxDistance, layerMask, hitTriggers);
342}
343
344bool Physics::ConvexCast(const Vector3& center, const CollisionData* convexMesh, const Vector3& scale, const Vector3& direction, const Quaternion& rotation, const float maxDistance, uint32 layerMask, bool hitTriggers)
345{

Callers

nothing calls this directly

Calls 1

IsNormalizedMethod · 0.45

Tested by

no test coverage detected