RagdollLoader.h 474 B

12345678910111213141516171819202122232425
  1. // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
  2. // SPDX-License-Identifier: MIT
  3. #pragma once
  4. namespace JPH {
  5. class RagdollSettings;
  6. enum class EMotionType : uint8;
  7. }
  8. enum class EConstraintOverride
  9. {
  10. TypeFixed,
  11. TypePoint,
  12. TypeHinge,
  13. TypeSlider,
  14. TypeCone,
  15. TypeRagdoll,
  16. };
  17. class RagdollLoader
  18. {
  19. public:
  20. static RagdollSettings * sLoad(const char *inFileName, EMotionType inMotionType, EConstraintOverride inConstraintOverride = EConstraintOverride::TypeRagdoll);
  21. };