physics.py 823 B

123456789101112131415161718192021222324252627
  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. SPDX-License-Identifier: Apache-2.0 OR MIT
  5. Holds constants used across both hydra and non-hydra scripts.
  6. """
  7. """
  8. PhysX Components
  9. """
  10. PHYSX_PRIMITIVE_COLLIDER = "PhysX Primitive Collider"
  11. PHYSX_MESH_COLLIDER = "PhysX Mesh Collider"
  12. PHYSX_SHAPE_COLLIDER = "PhysX Shape Collider"
  13. PHYSX_DYNAMIC_RIGID_BODY = "Physx Dynamic Rigid Body"
  14. """
  15. Shape Components
  16. These values are for Editor Components. If you're looking to set a shape property, see azlmbr.physics.property.
  17. """
  18. BOX_SHAPE = "Box Shape"
  19. CAPSULE_SHAPE = "Capsule Shape"
  20. CYLINDER_SHAPE = "Cylinder Shape"
  21. POLYGON_PRISM_SHAPE = "Polygon Prism Shape"
  22. QUAD_SHAPE = "Quad Shape"
  23. SPHERE_SHAPE = "Sphere Shape"