mirror of
https://github.com/Relintai/pandemonium_engine_docs.git
synced 2025-01-21 15:07:22 +01:00
189 lines
8.2 KiB
ReStructuredText
189 lines
8.2 KiB
ReStructuredText
:github_url: hide
|
|
|
|
.. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the PhysicsTestMotionResult.xml source instead.
|
|
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
|
|
|
.. _class_PhysicsTestMotionResult:
|
|
|
|
PhysicsTestMotionResult
|
|
=======================
|
|
|
|
**Inherits:** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
|
|
|
|
|
|
|
|
Properties
|
|
----------
|
|
|
|
+-------------------------------+----------------------------------------------------------------------------------------------------+------------------------+
|
|
| :ref:`Object<class_Object>` | :ref:`collider<class_PhysicsTestMotionResult_property_collider>` | |
|
|
+-------------------------------+----------------------------------------------------------------------------------------------------+------------------------+
|
|
| :ref:`int<class_int>` | :ref:`collider_id<class_PhysicsTestMotionResult_property_collider_id>` | ``0`` |
|
|
+-------------------------------+----------------------------------------------------------------------------------------------------+------------------------+
|
|
| :ref:`RID<class_RID>` | :ref:`collider_rid<class_PhysicsTestMotionResult_property_collider_rid>` | |
|
|
+-------------------------------+----------------------------------------------------------------------------------------------------+------------------------+
|
|
| :ref:`int<class_int>` | :ref:`collider_shape<class_PhysicsTestMotionResult_property_collider_shape>` | ``0`` |
|
|
+-------------------------------+----------------------------------------------------------------------------------------------------+------------------------+
|
|
| :ref:`Vector3<class_Vector3>` | :ref:`collider_velocity<class_PhysicsTestMotionResult_property_collider_velocity>` | ``Vector3( 0, 0, 0 )`` |
|
|
+-------------------------------+----------------------------------------------------------------------------------------------------+------------------------+
|
|
| :ref:`float<class_float>` | :ref:`collision_depth<class_PhysicsTestMotionResult_property_collision_depth>` | ``0.0`` |
|
|
+-------------------------------+----------------------------------------------------------------------------------------------------+------------------------+
|
|
| :ref:`Vector3<class_Vector3>` | :ref:`collision_normal<class_PhysicsTestMotionResult_property_collision_normal>` | ``Vector3( 0, 0, 0 )`` |
|
|
+-------------------------------+----------------------------------------------------------------------------------------------------+------------------------+
|
|
| :ref:`Vector3<class_Vector3>` | :ref:`collision_point<class_PhysicsTestMotionResult_property_collision_point>` | ``Vector3( 0, 0, 0 )`` |
|
|
+-------------------------------+----------------------------------------------------------------------------------------------------+------------------------+
|
|
| :ref:`float<class_float>` | :ref:`collision_safe_fraction<class_PhysicsTestMotionResult_property_collision_safe_fraction>` | ``0.0`` |
|
|
+-------------------------------+----------------------------------------------------------------------------------------------------+------------------------+
|
|
| :ref:`float<class_float>` | :ref:`collision_unsafe_fraction<class_PhysicsTestMotionResult_property_collision_unsafe_fraction>` | ``0.0`` |
|
|
+-------------------------------+----------------------------------------------------------------------------------------------------+------------------------+
|
|
| :ref:`Vector3<class_Vector3>` | :ref:`motion<class_PhysicsTestMotionResult_property_motion>` | ``Vector3( 0, 0, 0 )`` |
|
|
+-------------------------------+----------------------------------------------------------------------------------------------------+------------------------+
|
|
| :ref:`Vector3<class_Vector3>` | :ref:`motion_remainder<class_PhysicsTestMotionResult_property_motion_remainder>` | ``Vector3( 0, 0, 0 )`` |
|
|
+-------------------------------+----------------------------------------------------------------------------------------------------+------------------------+
|
|
|
|
Property Descriptions
|
|
---------------------
|
|
|
|
.. _class_PhysicsTestMotionResult_property_collider:
|
|
|
|
- :ref:`Object<class_Object>` **collider**
|
|
|
|
+----------+----------------+
|
|
| *Getter* | get_collider() |
|
|
+----------+----------------+
|
|
|
|
----
|
|
|
|
.. _class_PhysicsTestMotionResult_property_collider_id:
|
|
|
|
- :ref:`int<class_int>` **collider_id**
|
|
|
|
+-----------+-------------------+
|
|
| *Default* | ``0`` |
|
|
+-----------+-------------------+
|
|
| *Getter* | get_collider_id() |
|
|
+-----------+-------------------+
|
|
|
|
----
|
|
|
|
.. _class_PhysicsTestMotionResult_property_collider_rid:
|
|
|
|
- :ref:`RID<class_RID>` **collider_rid**
|
|
|
|
+----------+--------------------+
|
|
| *Getter* | get_collider_rid() |
|
|
+----------+--------------------+
|
|
|
|
----
|
|
|
|
.. _class_PhysicsTestMotionResult_property_collider_shape:
|
|
|
|
- :ref:`int<class_int>` **collider_shape**
|
|
|
|
+-----------+----------------------+
|
|
| *Default* | ``0`` |
|
|
+-----------+----------------------+
|
|
| *Getter* | get_collider_shape() |
|
|
+-----------+----------------------+
|
|
|
|
----
|
|
|
|
.. _class_PhysicsTestMotionResult_property_collider_velocity:
|
|
|
|
- :ref:`Vector3<class_Vector3>` **collider_velocity**
|
|
|
|
+-----------+-------------------------+
|
|
| *Default* | ``Vector3( 0, 0, 0 )`` |
|
|
+-----------+-------------------------+
|
|
| *Getter* | get_collider_velocity() |
|
|
+-----------+-------------------------+
|
|
|
|
----
|
|
|
|
.. _class_PhysicsTestMotionResult_property_collision_depth:
|
|
|
|
- :ref:`float<class_float>` **collision_depth**
|
|
|
|
+-----------+-----------------------+
|
|
| *Default* | ``0.0`` |
|
|
+-----------+-----------------------+
|
|
| *Getter* | get_collision_depth() |
|
|
+-----------+-----------------------+
|
|
|
|
----
|
|
|
|
.. _class_PhysicsTestMotionResult_property_collision_normal:
|
|
|
|
- :ref:`Vector3<class_Vector3>` **collision_normal**
|
|
|
|
+-----------+------------------------+
|
|
| *Default* | ``Vector3( 0, 0, 0 )`` |
|
|
+-----------+------------------------+
|
|
| *Getter* | get_collision_normal() |
|
|
+-----------+------------------------+
|
|
|
|
----
|
|
|
|
.. _class_PhysicsTestMotionResult_property_collision_point:
|
|
|
|
- :ref:`Vector3<class_Vector3>` **collision_point**
|
|
|
|
+-----------+------------------------+
|
|
| *Default* | ``Vector3( 0, 0, 0 )`` |
|
|
+-----------+------------------------+
|
|
| *Getter* | get_collision_point() |
|
|
+-----------+------------------------+
|
|
|
|
----
|
|
|
|
.. _class_PhysicsTestMotionResult_property_collision_safe_fraction:
|
|
|
|
- :ref:`float<class_float>` **collision_safe_fraction**
|
|
|
|
+-----------+-------------------------------+
|
|
| *Default* | ``0.0`` |
|
|
+-----------+-------------------------------+
|
|
| *Getter* | get_collision_safe_fraction() |
|
|
+-----------+-------------------------------+
|
|
|
|
----
|
|
|
|
.. _class_PhysicsTestMotionResult_property_collision_unsafe_fraction:
|
|
|
|
- :ref:`float<class_float>` **collision_unsafe_fraction**
|
|
|
|
+-----------+---------------------------------+
|
|
| *Default* | ``0.0`` |
|
|
+-----------+---------------------------------+
|
|
| *Getter* | get_collision_unsafe_fraction() |
|
|
+-----------+---------------------------------+
|
|
|
|
----
|
|
|
|
.. _class_PhysicsTestMotionResult_property_motion:
|
|
|
|
- :ref:`Vector3<class_Vector3>` **motion**
|
|
|
|
+-----------+------------------------+
|
|
| *Default* | ``Vector3( 0, 0, 0 )`` |
|
|
+-----------+------------------------+
|
|
| *Getter* | get_motion() |
|
|
+-----------+------------------------+
|
|
|
|
----
|
|
|
|
.. _class_PhysicsTestMotionResult_property_motion_remainder:
|
|
|
|
- :ref:`Vector3<class_Vector3>` **motion_remainder**
|
|
|
|
+-----------+------------------------+
|
|
| *Default* | ``Vector3( 0, 0, 0 )`` |
|
|
+-----------+------------------------+
|
|
| *Getter* | get_motion_remainder() |
|
|
+-----------+------------------------+
|
|
|
|
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
|
|
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
|
|
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
|