Files
godot-docs/classes/class_physicsdirectspacestate.rst
Rémi Verschelde fa00c829f0 Add inheritance path
Also fix parsing of [method (Class.)name]
2016-02-08 18:31:35 +01:00

64 lines
5.1 KiB
ReStructuredText

.. _class_PhysicsDirectSpaceState:
PhysicsDirectSpaceState
=======================
**Inherits:** :ref:`Object<class_object>`
**Category:** Core
Brief Description
-----------------
Member Functions
----------------
+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :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 **)** |
+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Array<class_array>` | :ref:`intersect_shape<class_PhysicsDirectSpaceState_intersect_shape>` **(** :ref:`PhysicsShapeQueryParameters<class_physicsshapequeryparameters>` shape, :ref:`int<class_int>` max_results=32 **)** |
+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Array<class_array>` | :ref:`cast_motion<class_PhysicsDirectSpaceState_cast_motion>` **(** :ref:`PhysicsShapeQueryParameters<class_physicsshapequeryparameters>` shape, :ref:`Vector3<class_vector3>` motion **)** |
+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Array<class_array>` | :ref:`collide_shape<class_PhysicsDirectSpaceState_collide_shape>` **(** :ref:`PhysicsShapeQueryParameters<class_physicsshapequeryparameters>` shape, :ref:`int<class_int>` max_results=32 **)** |
+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Dictionary<class_dictionary>` | :ref:`get_rest_info<class_PhysicsDirectSpaceState_get_rest_info>` **(** :ref:`PhysicsShapeQueryParameters<class_physicsshapequeryparameters>` shape **)** |
+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Numeric Constants
-----------------
- **TYPE_MASK_STATIC_BODY** = **1**
- **TYPE_MASK_KINEMATIC_BODY** = **2**
- **TYPE_MASK_RIGID_BODY** = **4**
- **TYPE_MASK_CHARACTER_BODY** = **8**
- **TYPE_MASK_AREA** = **16**
- **TYPE_MASK_COLLISION** = **15**
Member Function Description
---------------------------
.. _class_PhysicsDirectSpaceState_intersect_ray:
- :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 **)**
.. _class_PhysicsDirectSpaceState_intersect_shape:
- :ref:`Array<class_array>` **intersect_shape** **(** :ref:`PhysicsShapeQueryParameters<class_physicsshapequeryparameters>` shape, :ref:`int<class_int>` max_results=32 **)**
.. _class_PhysicsDirectSpaceState_cast_motion:
- :ref:`Array<class_array>` **cast_motion** **(** :ref:`PhysicsShapeQueryParameters<class_physicsshapequeryparameters>` shape, :ref:`Vector3<class_vector3>` motion **)**
.. _class_PhysicsDirectSpaceState_collide_shape:
- :ref:`Array<class_array>` **collide_shape** **(** :ref:`PhysicsShapeQueryParameters<class_physicsshapequeryparameters>` shape, :ref:`int<class_int>` max_results=32 **)**
.. _class_PhysicsDirectSpaceState_get_rest_info:
- :ref:`Dictionary<class_dictionary>` **get_rest_info** **(** :ref:`PhysicsShapeQueryParameters<class_physicsshapequeryparameters>` shape **)**