Struct rubullet::SoftBodyOptions[][src]

pub struct SoftBodyOptions {
Show fields pub base_pose: Isometry3<f64>, pub scale: Option<f64>, pub mass: Option<f64>, pub collision_margin: Option<f64>, pub use_mass_spring: bool, pub use_bending_springs: bool, pub use_neo_hookean: bool, pub spring_elastic_stiffness: f64, pub spring_damping_stiffness: f64, pub spring_damping_all_directions: bool, pub spring_bending_stiffness: f64, pub neo_hookean_mu: f64, pub neo_hookean_lambda: f64, pub neo_hookean_damping: f64, pub friction_coeff: f64, pub use_face_contact: bool, pub use_self_collision: bool, pub repulsion_stiffness: Option<f64>, pub sim_filename: Option<PathBuf>,
}
Expand description

options for load_soft_body

Fields

base_pose: Isometry3<f64>

initial pose of the deformable object

scale: Option<f64>

scaling factor to resize the deformable (default = 1)

mass: Option<f64>

total mass of the deformable, the mass is equally distributed among all vertices

collision_margin: Option<f64>

a collision margin extends the deformable, it can help avoiding penetrations, especially for thin (cloth) deformables

use_mass_spring: bool

using mass spring

use_bending_springs: bool

create bending springs to control bending of deformables

use_neo_hookean: bool

enable the Neo Hookean simulation

spring_elastic_stiffness: f64

stiffness parameter

spring_damping_stiffness: f64

damping parameter

spring_damping_all_directions: bool

spring damping parameter

spring_bending_stiffness: f64

parameters of bending stiffness

neo_hookean_mu: f64

parameters of the Neo Hookean model

neo_hookean_lambda: f64

parameters of the Neo Hookean model

neo_hookean_damping: f64

parameters of the Neo Hookean model

friction_coeff: f64

contact friction for deformables

use_face_contact: bool

enable collisions internal to faces, not just at vertices.

use_self_collision: bool

enable self collision for a deformable

repulsion_stiffness: Option<f64>

a parameter that helps avoiding penetration.

sim_filename: Option<PathBuf>

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more

Checks if self is actually part of its subset T (and can be converted to it).

Use with care! Same as self.to_subset but without any property checks. Always succeeds.

The inclusion map: converts self to the equivalent element of its superset.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.