LinearJointConstraint

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.
cfm Constant force mix factor.
erp Error reduction parameter.
split The LinearJointConstraint impulse split factor.

Variables


Name Description
pivotA Specify the location XYZ of the first hook of the linear joint.
pivotB The location of the second hook to apply to the LinearJointConstraint.
physicobjectB The relative physic object the LinearJointConstraint is associated to (if any).
collision_between_bodies Enable or disable collision between the base PhysicObject and physicobjectB.

Functions


Name Description
SetSettings Overrides the default LinearJointConstraint's settings.




NRG - API 2022.4.384543 - Fri Nov 4 2022
Copyright © 2022 nrgcore.com. All Rights Reserved. Terms of Service - Privacy Policy - EULA