mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 06:03:09 +00:00
81064cc239
We don't use that info for anything, and it generates unnecessary diffs every time we bump the minor version (and CI failures if we forget to sync some files from opt-in modules (mono, text_server_fb).
275 lines
8.6 KiB
XML
275 lines
8.6 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="PhysicsDirectBodyState3DExtension" inherits="PhysicsDirectBodyState3D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
Provides virtual methods that can be overridden to create custom [PhysicsDirectBodyState3D] implementations.
|
|
</brief_description>
|
|
<description>
|
|
This class extends [PhysicsDirectBodyState3D] by providing additional virtual methods that can be overridden. When these methods are overridden, they will be called instead of the internal methods of the physics server.
|
|
Intended for use with GDExtension to create custom implementations of [PhysicsDirectBodyState3D].
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="_add_constant_central_force" qualifiers="virtual">
|
|
<return type="void" />
|
|
<param index="0" name="force" type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_add_constant_force" qualifiers="virtual">
|
|
<return type="void" />
|
|
<param index="0" name="force" type="Vector3" />
|
|
<param index="1" name="position" type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_add_constant_torque" qualifiers="virtual">
|
|
<return type="void" />
|
|
<param index="0" name="torque" type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_apply_central_force" qualifiers="virtual">
|
|
<return type="void" />
|
|
<param index="0" name="force" type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_apply_central_impulse" qualifiers="virtual">
|
|
<return type="void" />
|
|
<param index="0" name="impulse" type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_apply_force" qualifiers="virtual">
|
|
<return type="void" />
|
|
<param index="0" name="force" type="Vector3" />
|
|
<param index="1" name="position" type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_apply_impulse" qualifiers="virtual">
|
|
<return type="void" />
|
|
<param index="0" name="impulse" type="Vector3" />
|
|
<param index="1" name="position" type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_apply_torque" qualifiers="virtual">
|
|
<return type="void" />
|
|
<param index="0" name="torque" type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_apply_torque_impulse" qualifiers="virtual">
|
|
<return type="void" />
|
|
<param index="0" name="impulse" type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_angular_velocity" qualifiers="virtual const">
|
|
<return type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_center_of_mass" qualifiers="virtual const">
|
|
<return type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_center_of_mass_local" qualifiers="virtual const">
|
|
<return type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_constant_force" qualifiers="virtual const">
|
|
<return type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_constant_torque" qualifiers="virtual const">
|
|
<return type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_contact_collider" qualifiers="virtual const">
|
|
<return type="RID" />
|
|
<param index="0" name="contact_idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_contact_collider_id" qualifiers="virtual const">
|
|
<return type="int" />
|
|
<param index="0" name="contact_idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_contact_collider_object" qualifiers="virtual const">
|
|
<return type="Object" />
|
|
<param index="0" name="contact_idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_contact_collider_position" qualifiers="virtual const">
|
|
<return type="Vector3" />
|
|
<param index="0" name="contact_idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_contact_collider_shape" qualifiers="virtual const">
|
|
<return type="int" />
|
|
<param index="0" name="contact_idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_contact_collider_velocity_at_position" qualifiers="virtual const">
|
|
<return type="Vector3" />
|
|
<param index="0" name="contact_idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_contact_count" qualifiers="virtual const">
|
|
<return type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_contact_impulse" qualifiers="virtual const">
|
|
<return type="Vector3" />
|
|
<param index="0" name="contact_idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_contact_local_normal" qualifiers="virtual const">
|
|
<return type="Vector3" />
|
|
<param index="0" name="contact_idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_contact_local_position" qualifiers="virtual const">
|
|
<return type="Vector3" />
|
|
<param index="0" name="contact_idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_contact_local_shape" qualifiers="virtual const">
|
|
<return type="int" />
|
|
<param index="0" name="contact_idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_contact_local_velocity_at_position" qualifiers="virtual const">
|
|
<return type="Vector3" />
|
|
<param index="0" name="contact_idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_inverse_inertia" qualifiers="virtual const">
|
|
<return type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_inverse_inertia_tensor" qualifiers="virtual const">
|
|
<return type="Basis" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_inverse_mass" qualifiers="virtual const">
|
|
<return type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_linear_velocity" qualifiers="virtual const">
|
|
<return type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_principal_inertia_axes" qualifiers="virtual const">
|
|
<return type="Basis" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_space_state" qualifiers="virtual">
|
|
<return type="PhysicsDirectSpaceState3D" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_step" qualifiers="virtual const">
|
|
<return type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_total_angular_damp" qualifiers="virtual const">
|
|
<return type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_total_gravity" qualifiers="virtual const">
|
|
<return type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_total_linear_damp" qualifiers="virtual const">
|
|
<return type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_transform" qualifiers="virtual const">
|
|
<return type="Transform3D" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_get_velocity_at_local_position" qualifiers="virtual const">
|
|
<return type="Vector3" />
|
|
<param index="0" name="local_position" type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_integrate_forces" qualifiers="virtual">
|
|
<return type="void" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_is_sleeping" qualifiers="virtual const">
|
|
<return type="bool" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_set_angular_velocity" qualifiers="virtual">
|
|
<return type="void" />
|
|
<param index="0" name="velocity" type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_set_constant_force" qualifiers="virtual">
|
|
<return type="void" />
|
|
<param index="0" name="force" type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_set_constant_torque" qualifiers="virtual">
|
|
<return type="void" />
|
|
<param index="0" name="torque" type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_set_linear_velocity" qualifiers="virtual">
|
|
<return type="void" />
|
|
<param index="0" name="velocity" type="Vector3" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_set_sleep_state" qualifiers="virtual">
|
|
<return type="void" />
|
|
<param index="0" name="enabled" type="bool" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_set_transform" qualifiers="virtual">
|
|
<return type="void" />
|
|
<param index="0" name="transform" type="Transform3D" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
</class>
|