mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-05 23:07:42 -05:00
Fix move_and_slide forcing synchronization with physics thread
Co-authored-by: Ricardo Buring <ricardo.buring@gmail.com>
This commit is contained in:
@@ -232,6 +232,12 @@
|
||||
<member name="center_of_mass_local" type="Vector2" setter="" getter="get_center_of_mass_local">
|
||||
The body's center of mass position in the body's local coordinate system.
|
||||
</member>
|
||||
<member name="collision_layer" type="int" setter="set_collision_layer" getter="get_collision_layer">
|
||||
The body's collision layer.
|
||||
</member>
|
||||
<member name="collision_mask" type="int" setter="set_collision_mask" getter="get_collision_mask">
|
||||
The body's collision mask.
|
||||
</member>
|
||||
<member name="inverse_inertia" type="float" setter="" getter="get_inverse_inertia">
|
||||
The inverse of the inertia of the body.
|
||||
</member>
|
||||
|
||||
@@ -94,6 +94,16 @@
|
||||
Implement to override the behavior of [member PhysicsDirectBodyState2D.center_of_mass_local] and its respective getter.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_get_collision_layer" qualifiers="virtual required const">
|
||||
<return type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_get_collision_mask" qualifiers="virtual required const">
|
||||
<return type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_get_constant_force" qualifiers="virtual required const">
|
||||
<return type="Vector2" />
|
||||
<description>
|
||||
@@ -269,6 +279,18 @@
|
||||
Implement to override the behavior of [member PhysicsDirectBodyState2D.angular_velocity] and its respective setter.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_set_collision_layer" qualifiers="virtual required">
|
||||
<return type="void" />
|
||||
<param index="0" name="layer" type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_set_collision_mask" qualifiers="virtual required">
|
||||
<return type="void" />
|
||||
<param index="0" name="mask" type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_set_constant_force" qualifiers="virtual required">
|
||||
<return type="void" />
|
||||
<param index="0" name="force" type="Vector2" />
|
||||
|
||||
@@ -232,6 +232,12 @@
|
||||
<member name="center_of_mass_local" type="Vector3" setter="" getter="get_center_of_mass_local">
|
||||
The body's center of mass position in the body's local coordinate system.
|
||||
</member>
|
||||
<member name="collision_layer" type="int" setter="set_collision_layer" getter="get_collision_layer">
|
||||
The body's collision layer.
|
||||
</member>
|
||||
<member name="collision_mask" type="int" setter="set_collision_mask" getter="get_collision_mask">
|
||||
The body's collision mask.
|
||||
</member>
|
||||
<member name="inverse_inertia" type="Vector3" setter="" getter="get_inverse_inertia">
|
||||
The inverse of the inertia of the body.
|
||||
</member>
|
||||
|
||||
@@ -82,6 +82,16 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_get_collision_layer" qualifiers="virtual required const">
|
||||
<return type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_get_collision_mask" qualifiers="virtual required const">
|
||||
<return type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_get_constant_force" qualifiers="virtual required const">
|
||||
<return type="Vector3" />
|
||||
<description>
|
||||
@@ -240,6 +250,18 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_set_collision_layer" qualifiers="virtual required">
|
||||
<return type="void" />
|
||||
<param index="0" name="layer" type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_set_collision_mask" qualifiers="virtual required">
|
||||
<return type="void" />
|
||||
<param index="0" name="mask" type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_set_constant_force" qualifiers="virtual required">
|
||||
<return type="void" />
|
||||
<param index="0" name="force" type="Vector3" />
|
||||
|
||||
Reference in New Issue
Block a user