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

Method ConvexCast

Source/Engine/Physics/Physics.cpp:344–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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{
346 CHECK_RETURN_DEBUG(direction.IsNormalized(), false);
347 return DefaultScene->ConvexCast(center, convexMesh, scale, direction, rotation, maxDistance, layerMask, hitTriggers);
348}
349
350bool Physics::ConvexCast(const Vector3& center, const CollisionData* convexMesh, const Vector3& scale, const Vector3& direction, RayCastHit& hitInfo, const Quaternion& rotation, const float maxDistance, uint32 layerMask, bool hitTriggers)
351{

Callers

nothing calls this directly

Calls 1

IsNormalizedMethod · 0.45

Tested by

no test coverage detected