﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Doc%3A2.6%2FManual%2FGame_Engine%2FPhysics%2FObject%2FSoft_Body</id>
	<title>Doc:2.6/Manual/Game Engine/Physics/Object/Soft Body - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Doc%3A2.6%2FManual%2FGame_Engine%2FPhysics%2FObject%2FSoft_Body"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Doc:2.6/Manual/Game_Engine/Physics/Object/Soft_Body&amp;action=history"/>
	<updated>2026-05-24T14:37:47Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Doc:2.6/Manual/Game_Engine/Physics/Object/Soft_Body&amp;diff=137533&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Doc:2.6/Manual/Game_Engine/Physics/Object/Soft_Body&amp;diff=137533&amp;oldid=prev"/>
		<updated>2018-06-28T20:50:11Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 20:50時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Doc:2.6/Manual/Game_Engine/Physics/Object/Soft_Body&amp;diff=137532&amp;oldid=prev</id>
		<title>wiki&gt;Kupoman: /* Soft Body Physics Object Type */</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Doc:2.6/Manual/Game_Engine/Physics/Object/Soft_Body&amp;diff=137532&amp;oldid=prev"/>
		<updated>2013-07-30T21:13:18Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Soft Body Physics Object Type&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Page/Header|}}&lt;br /&gt;
&lt;br /&gt;
= Soft Body Physics Object Type =&lt;br /&gt;
&lt;br /&gt;
The most advanced type of object in the [[Doc:2.6/Manual/Game_Engine|Game Engine]]. Also, it is the most finicky. If you are used to the fun experimentation that comes from playing around with the non-BGE Soft Body sims (such as Cloth), you will probably find a frustrating lack of options and exciting results. Do not despair, we are here to help you get some reasonable settings.&lt;br /&gt;
&lt;br /&gt;
Your setup will involve making sure you have sufficient geometry in the Soft Body's mesh to support the deformation, as well as tweaking the options.&lt;br /&gt;
&lt;br /&gt;
In the example game demo, [[Doc:2.6/Tutorials/Frijoles|Frijoles]], the Soft Body type is represented by the decorative checkered flag at the top of the level.&lt;br /&gt;
&lt;br /&gt;
For more documentation, see the [[Doc:2.6/Manual/Game_Engine/Physics|Top BGE Physics page]].&lt;br /&gt;
&lt;br /&gt;
== Options ==&lt;br /&gt;
&lt;br /&gt;
{{Doc:2.6/Manual/Game_Engine/Physics/CommonOptions}}&lt;br /&gt;
{{Doc:2.6/Manual/Game_Engine/Physics/MassOption}}&lt;br /&gt;
&lt;br /&gt;
* {{Literal|Shape Match}} - Upon starting the Game Engine this will record the starting shape of the mesh as the &amp;quot;lowest energy&amp;quot; state. This means that the edges will have tension whenever they are flexed to some other form. This is set to on by default, and in this configuration turns the object into more of a thin sheet of metal rather than a cloth.&lt;br /&gt;
** Demo: [[Media:BGE-Physics-Objects-SoftBodies_ShapeMatchAndLinearStiffness.blend|BGE-Physics-Objects-SoftBodies_ShapeMatchAndLinearStiffness.blend]]&lt;br /&gt;
** Default: On.&lt;br /&gt;
** Code effect: When on, it will call &amp;lt;code&amp;gt;[http://www.continuousphysics.com/Bullet/BulletFull/btSoftBody_8cpp_source.html#l00626 btSoftBody::setPose(false,true)]&amp;lt;/code&amp;gt;&lt;br /&gt;
** Python property: &amp;lt;code&amp;gt;obj.game.soft_body.use_shape_match&amp;lt;/code&amp;gt;&lt;br /&gt;
** Suboption: {{Literal|Threshold}} - [http://www.continuousphysics.com/Bullet/BulletFull/btSoftBody_8cpp_source.html#l01566 Linearly scales the pose match] &lt;br /&gt;
*** A threshold of 1.0 makes it behave like {{Literal|Shape Match}} on with a {{Literal|Linear Stiffness}} of 1.0. &lt;br /&gt;
*** A threshold of 0.0 makes it behave like {{Literal|Shape Match}} off with a {{Literal|Linear Stiffness}} of 0.0.&lt;br /&gt;
*** Range: 0-1.&lt;br /&gt;
*** Default: 0.5.&lt;br /&gt;
*** Code effect: Sets [http://www.continuousphysics.com/Bullet/BulletFull/structbtSoftBody_1_1Config.html#a8e9d39cceaf15fd8697b2f8831b2fee1 btSoftBody::Config::kMT].&lt;br /&gt;
*** Python property: &amp;lt;code&amp;gt;obj.game.soft_body.shape_threshold&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{Literal|Welding}} - &amp;lt;span style=&amp;quot;color: #E7007A&amp;quot;&amp;gt;[Note: Seems to not be hooked up. Blender will tell Bullet to weld any time you enable Soft Body. Look at [https://svn.blender.org/svnroot/bf-blender/trunk/blender/source/gameengine/Converter/BL_BlenderDataConversion.cpp BL_BlenderDataConversion.cpp] where &amp;lt;code&amp;gt;objprop.m_soft_welding&amp;lt;/code&amp;gt;is hard-coded to 0.0f]&lt;br /&gt;
* {{Literal|Position Iteration}} - Increase the accuracy at a linearly-increasing expense of time. The effect is visible especially with Soft Bodies that fall on sharp corners, though this can slow down even very simple scenes.&lt;br /&gt;
** Demo: A situation where only the max setting of 10 works correctly: [[Media:BGE-Physics-Objects-SoftBodies_PositionIterations.blend|BGE-Physics-Objects-SoftBodies_PositionIterations.blend]].&lt;br /&gt;
** Range: 0-10.&lt;br /&gt;
** Default: 2.&lt;br /&gt;
** Code effect: Represents the number of times [http://www.continuousphysics.com/Bullet/BulletFull/btSoftBody_8cpp_source.html#l01627 this loop] is run.&lt;br /&gt;
** Python property: &amp;lt;code&amp;gt;obj.game.soft_body.location_iterations&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{Literal|Linear Stiffness}} - Linear stiffness of the soft body links. This is most evident when you have {{Literal|Shape Match}} off, but it is also evident with it on.&lt;br /&gt;
** Demo: [[Media:BGE-Physics-Objects-SoftBodies_ShapeMatchAndLinearStiffness.blend|BGE-Physics-Objects-SoftBodies_ShapeMatchAndLinearStiffness.blend]]&lt;br /&gt;
** Range: 0-1.&lt;br /&gt;
** Default: 0.5.&lt;br /&gt;
** Python property: &amp;lt;code&amp;gt;obj.game.soft_body.linear_stiffness&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{Literal|Friction}} - Dynamic friction coefficient. &amp;lt;span style=&amp;quot;color: #E7007A&amp;quot;&amp;gt;TODO: Learn/demo/explain.&amp;lt;/span&amp;gt;&lt;br /&gt;
** Code effect: Sets [http://www.continuousphysics.com/Bullet/BulletFull/btSoftBodyInternals_8h.html btSoftBody::Config::kMT], which, for Soft Bodies, defines the minimum friction versus the Material Friction (which in turn defaults to 0.5). &lt;br /&gt;
** Range: 0-1.&lt;br /&gt;
** Default: 0.2.&lt;br /&gt;
** Python property: &amp;lt;code&amp;gt;obj.game.soft_body.dynamic_friction&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{Literal|Margin}} - Small value makes the algorithm unstable. &amp;lt;span style=&amp;quot;color: #E7007A&amp;quot;&amp;gt;TODO: Learn/demo/explain.&amp;lt;/span&amp;gt;&lt;br /&gt;
** Range: 0.01-1.&lt;br /&gt;
** Default: 0.01.&lt;br /&gt;
** Python property: &amp;lt;code&amp;gt;obj.game.soft_body.collision_margin&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{Literal|Bending Constraint}} - Enable Bending Constraints &amp;lt;span style=&amp;quot;color: #E7007A&amp;quot;&amp;gt;TODO: Learn/demo/explain.&amp;lt;/span&amp;gt;&lt;br /&gt;
** Default: On.&lt;br /&gt;
** Python property: &amp;lt;code&amp;gt;obj.game.soft_body.use_bending_constraints&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{Literal|Cluster Collision}} - Affects Collision sensors as well as physics.&lt;br /&gt;
** Demo: [[Media:BGE-Physics-Objects-SoftBodies_ClusterRigidToSoftBody.blend|BGE-Physics-Objects-SoftBodies_ClusterRigidToSoftBody.blend]] for a demonstration of the effect on the [[Doc:2.6/Manual/Game_Engine/Logic/Sensors/Collision|Collision Sensor]]. There you will observe the &amp;quot;Rigid to Soft Body&amp;quot; off, then on with Iterations of 1, 64, and 128. The Off and Iterations: 1 cases do not register collisions, and the other two do (though they send their poor Cubes flying into space).&lt;br /&gt;
** Demo of badness: [[Media:Manual-BGE-Physics-SoftBody_BadClusterCollisions.blend‎|Manual-BGE-Physics-SoftBody_BadClusterCollisions.blend‎]] - four different ways of making misconfigured Soft Body objects. &lt;br /&gt;
** Suboption: {{Literal|Rigid to Soft Body}} - Enable cluster collisions between Rigid and Soft Bodies.&lt;br /&gt;
*** Default: Off.&lt;br /&gt;
*** Python property: &amp;lt;code&amp;gt;obj.game.soft_body.use_cluster_rigid_to_softbody&amp;lt;/code&amp;gt;&lt;br /&gt;
** Suboption: {{Literal|Soft to Soft Body}} - Enable cluster collisions among Soft Bodies.&lt;br /&gt;
*** Default: Off.&lt;br /&gt;
*** Python property: &amp;lt;code&amp;gt;obj.game.soft_body.use_cluster_soft_to_softbody&amp;lt;/code&amp;gt;&lt;br /&gt;
** Suboption: {{Literal|Iterations}} - Number of cluster iterations.&lt;br /&gt;
*** Range: 1-128.&lt;br /&gt;
*** Default: 64.&lt;br /&gt;
*** Python property: &amp;lt;code&amp;gt;obj.game.soft_body.cluster_iterations&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Hints ==&lt;br /&gt;
&lt;br /&gt;
* A very important configurable in the case of Soft Body interactions is {{Menu|[[Doc:2.6/Manual/Game_Engine/Physics/World|World properties]]|Physics|Physics Steps|Substeps}}. In the test .blend here: [[Media:Manual-BGE-Physics-SoftBody_PhysicsSteps.blend|Manual-BGE-Physics-SoftBody_PhysicsSteps.blend]], you can see the behavior at various Substep levels:&lt;br /&gt;
*# The default level. The Grid object goes straight through the cube, hardly slowing down at all.&lt;br /&gt;
*# The Grid slows upon hitting the Cube's top face, and stops fully on the bottom face.&lt;br /&gt;
*# The Grid stops at the top face, but two opposite Cube corners are visible.&lt;br /&gt;
*# ...no perceptible difference.&lt;br /&gt;
*# Finally a working sim. This is good, because it is the maximum step level.&lt;br /&gt;
* Surprisingly, the more vertices you have in your hit object, the less likely the Soft Body is to react with it. If you try letting it hit a Plane, it might stop, but a subdivided Grid might fail.&lt;br /&gt;
&lt;br /&gt;
== Sensors ==&lt;br /&gt;
Soft bodies do not work with the Collision, Touch, Near, and Radar logic brick sensors.&lt;br /&gt;
&lt;br /&gt;
== Goal Weights ==&lt;br /&gt;
&lt;br /&gt;
TODO: http://www.blender.org/documentation/blender_python_api_2_62_release/bpy.ops.curve.html#bpy.ops.curve.spline_weight_set&lt;br /&gt;
&lt;br /&gt;
== Force Fields ==&lt;br /&gt;
&lt;br /&gt;
A common practice within the non-BGE Cloth simulator is to employ [[Doc:2.6/Manual/Physics/Force_Fields|Force Fields]] to animate the cloth.&lt;br /&gt;
&lt;br /&gt;
These do not work in the BGE, so you will have to figure out a way to use Python (or perhaps plain Logic Bricks) to apply forces to the Soft Body objects.&lt;br /&gt;
&lt;br /&gt;
== All Types ==&lt;br /&gt;
&lt;br /&gt;
{{Doc:2.6/Manual/Game_Engine/Physics/AllTypes}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Game_engine]]&lt;br /&gt;
[[Category:Physics]]&lt;br /&gt;
&lt;br /&gt;
{{Page/Footer|}}&lt;/div&gt;</summary>
		<author><name>wiki&gt;Kupoman</name></author>
		
	</entry>
</feed>