EActivation.h 464 B

12345678910111213141516
  1. // Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
  2. // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
  3. // SPDX-License-Identifier: MIT
  4. #pragma once
  5. JPH_NAMESPACE_BEGIN
  6. /// Enum used by AddBody to determine if the body needs to be initially active
  7. enum class EActivation
  8. {
  9. Activate, ///< Activate the body, making it part of the simulation
  10. DontActivate ///< Leave activation state as it is (will not deactivate an active body)
  11. };
  12. JPH_NAMESPACE_END