MotionType.h 377 B

12345678910111213141516
  1. // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
  2. // SPDX-License-Identifier: MIT
  3. #pragma once
  4. JPH_NAMESPACE_BEGIN
  5. /// Motion type of a physics body
  6. enum class EMotionType : uint8
  7. {
  8. Static, ///< Non movable
  9. Kinematic, ///< Movable using velocities only, does not respond to forces
  10. Dynamic, ///< Responds to forces as a normal physics object
  11. };
  12. JPH_NAMESPACE_END