mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #109607 from mihe/character-thread-sync
Fix `move_and_slide` forcing synchronization with physics thread
This commit is contained in:
commit
34d01ea07e
22 changed files with 226 additions and 2 deletions
|
@ -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" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue