Add description for SoftBody3D linear_stiffness property

(cherry picked from commit 7ca6e94c36)
This commit is contained in:
samdevelopscode 2023-07-26 12:03:09 -05:00 committed by Yuri Sizov
parent 1f4a5c2c15
commit 7fa44784f8
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@
<member name="drag_coefficient" type="float" setter="set_drag_coefficient" getter="get_drag_coefficient" default="0.0">
</member>
<member name="linear_stiffness" type="float" setter="set_linear_stiffness" getter="get_linear_stiffness" default="0.5">
Higher values will result in a stiffer body, while lower values will increase the body's ability to bend. The value can be between [code]0.0[/code] and [code]1.0[/code] (inclusive).
</member>
<member name="parent_collision_ignore" type="NodePath" setter="set_parent_collision_ignore" getter="get_parent_collision_ignore" default="NodePath(&quot;&quot;)">
[NodePath] to a [CollisionObject3D] this SoftBody3D should avoid clipping.