Struct SoftBody
A soft mesh physics body.
struct SoftBody
;
A deformable physics body. Used to create elastic or deformable objects such as cloth, rubber, or other flexible materials.
Properties
Name | Type | Description |
---|---|---|
areaangularStiffness [get, set]
|
double | |
collisionLayer [get, set]
|
long | The physics layers this SoftBody is in. Collidable objects can exist in any of 32 different layers. These layers work like a tagging system, and are not visual. A collidable can use these layers to select with which objects it can collide, using the collision_mask property. A contact is detected if object A is in any of the layers that object B scans, or object B is in any layer scanned by object A. |
collisionMask [get, set]
|
long | The physics layers this SoftBody scans for collisions. |
dampingCoefficient [get, set]
|
double | |
dragCoefficient [get, set]
|
double | |
linearStiffness [get, set]
|
double | |
parentCollisionIgnore [get, set]
|
NodePath | NodePath to a CollisionObject this SoftBody should avoid clipping.
|
poseMatchingCoefficient [get, set]
|
double | |
pressureCoefficient [get, set]
|
double | |
rayPickable [get, set]
|
bool | If true , the SoftBody will respond to RayCast s.
|
simulationPrecision [get, set]
|
long | Increasing this value will improve the resulting simulation, but can affect performance. Use with care. |
totalMass [get, set]
|
double | The SoftBody's mass. |
volumeStiffness [get, set]
|
double |