JointLimitOptimizer.h 703 B

12345678910111213141516171819
  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 <Editor/Plugins/Ragdoll/PhysicsSetupManipulators.h>
  10. namespace EMotionFX
  11. {
  12. inline const int JointLimitOptimizerTotalSamples = 1000; //!< Approximate number of joint poses to sample from available motion sets.
  13. inline const int JointLimitOptimizerMaxSamplesPerMotion = 50; //!< Upper limit on number of samples from a single motion.
  14. void OptimizeJointLimits(const PhysicsSetupManipulatorData& physicsSetupManipulatorData);
  15. } // namespace EMotionFX