SoftBody3D: Add a property for scaling rest lengths of edge constraints
This commit is contained in:
parent
0d8f33a74a
commit
9f67bf96fa
19 changed files with 126 additions and 0 deletions
|
|
@ -1121,6 +1121,13 @@
|
|||
Returns the pressure coefficient of the given soft body.
|
||||
</description>
|
||||
</method>
|
||||
<method name="soft_body_get_shrinking_factor" qualifiers="const">
|
||||
<return type="float" />
|
||||
<param index="0" name="body" type="RID" />
|
||||
<description>
|
||||
Returns the shrinking factor of the given soft body.
|
||||
</description>
|
||||
</method>
|
||||
<method name="soft_body_get_simulation_precision" qualifiers="const">
|
||||
<return type="int" />
|
||||
<param index="0" name="body" type="RID" />
|
||||
|
|
@ -1258,6 +1265,14 @@
|
|||
Sets whether the given soft body will be pickable when using object picking.
|
||||
</description>
|
||||
</method>
|
||||
<method name="soft_body_set_shrinking_factor">
|
||||
<return type="void" />
|
||||
<param index="0" name="body" type="RID" />
|
||||
<param index="1" name="shrinking_factor" type="float" />
|
||||
<description>
|
||||
Sets the shrinking factor of the given soft body.
|
||||
</description>
|
||||
</method>
|
||||
<method name="soft_body_set_simulation_precision">
|
||||
<return type="void" />
|
||||
<param index="0" name="body" type="RID" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue