PhysicsSetupUtils.h 578 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <EMotionFX/Source/PhysicsSetup.h>
  10. namespace EMotionFX
  11. {
  12. class Actor;
  13. class PhysicsSetupUtils
  14. {
  15. public:
  16. static size_t CountColliders(const Actor* actor, PhysicsSetup::ColliderConfigType colliderConfigType, bool ignoreShapeType = true, Physics::ShapeType shapeTypeToCount = Physics::ShapeType::Box);
  17. };
  18. }