Files
godot-docs/classes/class_physicsdirectspacestate.rst
2017-09-06 14:46:15 +02:00

67 lines
5.2 KiB
ReStructuredText

.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
.. _class_PhysicsDirectSpaceState:
PhysicsDirectSpaceState
=======================
**Inherits:** :ref:`Object<class_object>`
**Category:** Core
Brief Description
-----------------
Member Functions
----------------
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :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 **)** |
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :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=[ ], :ref:`int<class_int>` collision_layer=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 **)** |
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
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_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 **)**
.. _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=[ ], :ref:`int<class_int>` collision_layer=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 **)**