Skip to content

Commit

Permalink
Merge pull request #79933 from SamDevelopsCode/softbody3d-documentati…
Browse files Browse the repository at this point in the history
…on-update

Document `linear_stiffness` in SoftBody3D
  • Loading branch information
akien-mga committed Aug 7, 2023
2 parents 87c91dc + 7ca6e94 commit 75976a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/classes/SoftBody3D.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 75976a2

Please sign in to comment.