Available only when an active soft body is using clusters; this type of soft constraint creates a linear (movement only) joint between either a soft body or a rigid body. As a result this type of joint will restrict the linear movement of the soft body based on the pivot point established by the constraint.
See Also
Static Variables
Name | Description |
softconstraint | Reference to the SoftConstraint where the linear joint is stored. |
Declaration SoftConstraint *softconstraint
|
cfm | Constant force mix factor. |
Declaration Range -0.1 to 1.0
|
erp | Error reduction parameter. |
Declaration Range -0.1 to 1.0
|
split | The LinearJointConstraint impulse split factor. |
Declaration Range -0.1 to 1.0
|
Variables
Name | Description |
pivotA | Specify the location XYZ of the first hook of the linear joint. |
Declaration
|
pivotB | The location of the second hook to apply to the LinearJointConstraint. |
Declaration - Note
- If a physic target has been specified the location XYZ will be relative to the target transformation. Instead, the position will be relative to the soft body A transform.
|
physicobjectB | The relative physic object the LinearJointConstraint is associated to (if any). |
Declaration PhysicObject *physicobjectB
|
collision_between_bodies | Enable or disable collision between the base PhysicObject and physicobjectB . |
Declaration bool collision_between_bodies
|
Functions
Name | Description |
SetSettings | Overrides the default LinearJointConstraint's settings. |
Declaration void SetSettings( float cfm, float erp, float split ) Parameters
cfm : Constant force mixing factor.
erp : Error reduction parameter.
split : Split impulse factor.
|