2
0

class_physicsdirectspacestate.rst 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_PhysicsDirectSpaceState:
  4. PhysicsDirectSpaceState
  5. =======================
  6. **Inherits:** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Member Functions
  11. ----------------
  12. +--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  13. | :ref:`Array<class_array>` | :ref:`cast_motion<class_PhysicsDirectSpaceState_cast_motion>` **(** :ref:`PhysicsShapeQueryParameters<class_physicsshapequeryparameters>` shape, :ref:`Vector3<class_vector3>` motion **)** |
  14. +--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`Array<class_array>` | :ref:`collide_shape<class_PhysicsDirectSpaceState_collide_shape>` **(** :ref:`PhysicsShapeQueryParameters<class_physicsshapequeryparameters>` shape, :ref:`int<class_int>` max_results=32 **)** |
  16. +--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  17. | :ref:`Dictionary<class_dictionary>` | :ref:`get_rest_info<class_PhysicsDirectSpaceState_get_rest_info>` **(** :ref:`PhysicsShapeQueryParameters<class_physicsshapequeryparameters>` shape **)** |
  18. +--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  19. | :ref:`Dictionary<class_dictionary>` | :ref:`intersect_ray<class_PhysicsDirectSpaceState_intersect_ray>` **(** :ref:`Vector3<class_vector3>` from, :ref:`Vector3<class_vector3>` to, :ref:`Array<class_array>` exclude=Array(), :ref:`int<class_int>` layer_mask=2147483647, :ref:`int<class_int>` type_mask=15 **)** |
  20. +--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  21. | :ref:`Array<class_array>` | :ref:`intersect_shape<class_PhysicsDirectSpaceState_intersect_shape>` **(** :ref:`PhysicsShapeQueryParameters<class_physicsshapequeryparameters>` shape, :ref:`int<class_int>` max_results=32 **)** |
  22. +--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  23. Numeric Constants
  24. -----------------
  25. - **TYPE_MASK_STATIC_BODY** = **1**
  26. - **TYPE_MASK_KINEMATIC_BODY** = **2**
  27. - **TYPE_MASK_RIGID_BODY** = **4**
  28. - **TYPE_MASK_CHARACTER_BODY** = **8**
  29. - **TYPE_MASK_AREA** = **16**
  30. - **TYPE_MASK_COLLISION** = **15**
  31. Member Function Description
  32. ---------------------------
  33. .. _class_PhysicsDirectSpaceState_cast_motion:
  34. - :ref:`Array<class_array>` **cast_motion** **(** :ref:`PhysicsShapeQueryParameters<class_physicsshapequeryparameters>` shape, :ref:`Vector3<class_vector3>` motion **)**
  35. .. _class_PhysicsDirectSpaceState_collide_shape:
  36. - :ref:`Array<class_array>` **collide_shape** **(** :ref:`PhysicsShapeQueryParameters<class_physicsshapequeryparameters>` shape, :ref:`int<class_int>` max_results=32 **)**
  37. .. _class_PhysicsDirectSpaceState_get_rest_info:
  38. - :ref:`Dictionary<class_dictionary>` **get_rest_info** **(** :ref:`PhysicsShapeQueryParameters<class_physicsshapequeryparameters>` shape **)**
  39. .. _class_PhysicsDirectSpaceState_intersect_ray:
  40. - :ref:`Dictionary<class_dictionary>` **intersect_ray** **(** :ref:`Vector3<class_vector3>` from, :ref:`Vector3<class_vector3>` to, :ref:`Array<class_array>` exclude=Array(), :ref:`int<class_int>` layer_mask=2147483647, :ref:`int<class_int>` type_mask=15 **)**
  41. .. _class_PhysicsDirectSpaceState_intersect_shape:
  42. - :ref:`Array<class_array>` **intersect_shape** **(** :ref:`PhysicsShapeQueryParameters<class_physicsshapequeryparameters>` shape, :ref:`int<class_int>` max_results=32 **)**