|
These are the Config parameters to set up a softbody object
btSoftBody::Config :
btSoftBody::Config::kVCF; // Velocities correction factor (Baumgarte) define the amount of correction per time step for drift solver (sometimes referred as ERP in rigid bodies solvers). btSoftBody::Config::kDP; // Damping coefficient [0,1] damping, zero = no damping, one= full damping. btSoftBody::Config::kDG; // Drag coefficient [0,+inf] [aerodynamic] kDG=0 mean no drag. btSoftBody::Config::kLF; // Lift coefficient [0,+inf] [aerodynamic]=> is a factor of the lift force kLF=0 mean no lift btSoftBody::Config::kPR; // Pressure coefficient [-inf,+inf] [aerodynamic]=> is a factor of pressure. btSoftBody::Config::kVC; // Volume conversation coefficient [0,+inf] when 'setPose(true,...)' as been called, define the magnitude of the force used to conserve volume. btSoftBody::Config::kDF; // Dynamic friction coefficient [0,1] friction, kDF=0 mean sliding, kDF=1 mean sticking. btSoftBody::Config::kMT; // Pose matching coefficient [0,1] when 'setPose(...,true)' as been called, define the factor used for pose matching. btSoftBody::Config::kCHR; // Rigid contacts hardness [0,1] define how 'soft' contact with rigid bodies are, kCHR=0 mean no penetration correction, 1 mean full correction. btSoftBody::Config::kKHR; // Kinetic contacts hardness [0,1] define how 'soft' contact with kinetic/static bodies are, kKHR=0 mean no penetration correction, 1 mean full correction. btSoftBody::Config::kSHR; // Soft contacts hardness [0,1] define how 'soft' contact with other soft bodies are, kSHR=0 mean no penetration correction, 1 mean full correction. btSoftBody::Config::kAHR; // Anchors hardness [0,1] define how 'soft' anchor constraint (joint) are, kAHR=0 mean no drift correction, 1 mean full correction. btSoftBody::Config::maxvolume; // Maximum volume ratio for pose --unused-- btSoftBody::Config::timescale; // Time scale factor of time step, can be used to speed up, or slow down simulation, default=1.
|