Returns the given soft body state (see [enum BodyState] constants).
[b]Note:[/b] Godot's default physics implementation does not support [constant BODY_STATE_LINEAR_VELOCITY], [constant BODY_STATE_ANGULAR_VELOCITY], [constant BODY_STATE_SLEEPING], or [constant BODY_STATE_CAN_SLEEP].
Moves the given soft body point to a position in global coordinates.
</description>
</method>
<methodname="soft_body_pin_point">
<returntype="void"/>
<paramindex="0"name="body"type="RID"/>
<paramindex="1"name="point_index"type="int"/>
<paramindex="2"name="pin"type="bool"/>
<description>
Pins or unpins the given soft body point based on the value of [param pin].
[b]Note:[/b] Pinning a point effectively makes it kinematic, preventing it from being affected by forces, but you can still move it using [method soft_body_move_point].
Sets the drag coefficient of the given soft body. Higher values increase this body's air resistance.
[b]Note:[/b] This value is currently unused by Godot's default physics implementation.
</description>
</method>
<methodname="soft_body_set_linear_stiffness">
<returntype="void"/>
<paramindex="0"name="body"type="RID"/>
<paramindex="1"name="stiffness"type="float"/>
<description>
Sets the linear stiffness of the given soft body. 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).
Sets the pressure coefficient of the given soft body. Simulates pressure build-up from inside this body. Higher values increase the strength of this effect.
</description>
</method>
<methodname="soft_body_set_ray_pickable">
<returntype="void"/>
<paramindex="0"name="body"type="RID"/>
<paramindex="1"name="enable"type="bool"/>
<description>
Sets whether the given soft body will be pickable when using object picking.
Sets the simulation precision of the given soft body. Increasing this value will improve the resulting simulation, but can affect performance. Use with care.
</description>
</method>
<methodname="soft_body_set_space">
<returntype="void"/>
<paramindex="0"name="body"type="RID"/>
<paramindex="1"name="space"type="RID"/>
<description>
Assigns a space to the given soft body (see [method space_create]).
Sets the given body state for the given body (see [enum BodyState] constants).
[b]Note:[/b] Godot's default physics implementation does not support [constant BODY_STATE_LINEAR_VELOCITY], [constant BODY_STATE_ANGULAR_VELOCITY], [constant BODY_STATE_SLEEPING], or [constant BODY_STATE_CAN_SLEEP].
Requests that the physics server updates the rendering server with the latest positions of the given soft body's points through the [param rendering_server_handler] interface.