Merge pull request #32602 from cbscribe/kcc_doc_rigid
[DOC] Add missing physics_material_override descriptions
This commit is contained in:
commit
8c9358b5d0
4 changed files with 10 additions and 0 deletions
|
@ -88,6 +88,7 @@
|
||||||
<argument index="0" name="axis" type="int" enum="PhysicsServer.BodyAxis">
|
<argument index="0" name="axis" type="int" enum="PhysicsServer.BodyAxis">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Returns [code]true[/code] if the specified linear or rotational axis is locked.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_colliding_bodies" qualifiers="const">
|
<method name="get_colliding_bodies" qualifiers="const">
|
||||||
|
@ -106,6 +107,7 @@
|
||||||
<argument index="1" name="lock" type="bool">
|
<argument index="1" name="lock" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Locks the specified linear or rotational axis.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_axis_velocity">
|
<method name="set_axis_velocity">
|
||||||
|
@ -183,6 +185,8 @@
|
||||||
The body mode. See [enum Mode] for possible values.
|
The body mode. See [enum Mode] for possible values.
|
||||||
</member>
|
</member>
|
||||||
<member name="physics_material_override" type="PhysicsMaterial" setter="set_physics_material_override" getter="get_physics_material_override">
|
<member name="physics_material_override" type="PhysicsMaterial" setter="set_physics_material_override" getter="get_physics_material_override">
|
||||||
|
The physics material override for the body.
|
||||||
|
If a material is assigned to this property, it will be used instead of any other physics material, such as an inherited one.
|
||||||
</member>
|
</member>
|
||||||
<member name="sleeping" type="bool" setter="set_sleeping" getter="is_sleeping" default="false">
|
<member name="sleeping" type="bool" setter="set_sleeping" getter="is_sleeping" default="false">
|
||||||
If [code]true[/code], the body is sleeping and will not calculate forces until woken up by a collision or the [code]apply_impulse[/code] method.
|
If [code]true[/code], the body is sleeping and will not calculate forces until woken up by a collision or the [code]apply_impulse[/code] method.
|
||||||
|
|
|
@ -169,6 +169,8 @@
|
||||||
The body's mode. See [enum Mode] for possible values.
|
The body's mode. See [enum Mode] for possible values.
|
||||||
</member>
|
</member>
|
||||||
<member name="physics_material_override" type="PhysicsMaterial" setter="set_physics_material_override" getter="get_physics_material_override">
|
<member name="physics_material_override" type="PhysicsMaterial" setter="set_physics_material_override" getter="get_physics_material_override">
|
||||||
|
The physics material override for the body.
|
||||||
|
If a material is assigned to this property, it will be used instead of any other physics material, such as an inherited one.
|
||||||
</member>
|
</member>
|
||||||
<member name="sleeping" type="bool" setter="set_sleeping" getter="is_sleeping" default="false">
|
<member name="sleeping" type="bool" setter="set_sleeping" getter="is_sleeping" default="false">
|
||||||
If [code]true[/code], the body is sleeping and will not calculate forces until woken up by a collision or by using [method apply_impulse] or [method add_force].
|
If [code]true[/code], the body is sleeping and will not calculate forces until woken up by a collision or by using [method apply_impulse] or [method add_force].
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
Deprecated, use [member PhysicsMaterial.friction] instead via [member physics_material_override].
|
Deprecated, use [member PhysicsMaterial.friction] instead via [member physics_material_override].
|
||||||
</member>
|
</member>
|
||||||
<member name="physics_material_override" type="PhysicsMaterial" setter="set_physics_material_override" getter="get_physics_material_override">
|
<member name="physics_material_override" type="PhysicsMaterial" setter="set_physics_material_override" getter="get_physics_material_override">
|
||||||
|
The physics material override for the body.
|
||||||
|
If a material is assigned to this property, it will be used instead of any other physics material, such as an inherited one.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -27,6 +27,8 @@
|
||||||
Deprecated, use [member PhysicsMaterial.friction] instead via [member physics_material_override].
|
Deprecated, use [member PhysicsMaterial.friction] instead via [member physics_material_override].
|
||||||
</member>
|
</member>
|
||||||
<member name="physics_material_override" type="PhysicsMaterial" setter="set_physics_material_override" getter="get_physics_material_override">
|
<member name="physics_material_override" type="PhysicsMaterial" setter="set_physics_material_override" getter="get_physics_material_override">
|
||||||
|
The physics material override for the body.
|
||||||
|
If a material is assigned to this property, it will be used instead of any other physics material, such as an inherited one.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
Loading…
Reference in a new issue