Cargo Features

[dependencies]
rapier3d = { version = "0.32.0", default-features = false, features = ["dim3", "f32", "parallel", "simd-stable", "simd-nightly", "simd-is-enabled", "serde-serialize", "enhanced-determinism", "debug-render", "profiler", "debug-disable-legitimate-fe-exceptions", "dev-remove-slow-accessors"] }
default = dim3, f32

These default features are set whenever rapier3d is added without default-features = false somewhere in the dependency tree.

dim3 default

Affects integration_parameters::FrictionModel, integration_parameters::IntegrationParameters.friction_model, rigid_body_components::RigidBodyForces.gyroscopic_forces_enabled, joint_constraint_builder::JointConstraintHelper.basis2, joint_constraint_builder::JointConstraintHelper.cmat1_basis, joint_constraint_builder::JointConstraintHelper.cmat2_basis, joint_constraint_builder::JointConstraintHelper.ang_basis, contact_pair::ContactData.warmstart_twist_impulse, geometry::Cylinder, geometry::Cone, rapier3d::math.rotation_from_angle, rapier3d::math.SimdVector, rapier3d::math.SimdAngVector, rapier3d::math.SimdPoint, rapier3d::math.SimdPose, rapier3d::math.SimdRotation, rapier3d::math.SimdAngularInertia, rapier3d::math.SimdMatrix, rapier3d::math.Dim, rapier3d::math.AngDim

f32 default
parallel

Enables rayon

simd-stable = simd-is-enabled

Enables simd-stable of parry3d, wide of simba

simd-nightly = simd-is-enabled

Enables simd-nightly of parry3d, portable_simd of simba

simd-is-enabled simd-nightly? simd-stable?

Do not enable this feature directly. It is automatically enabled with the "simd-stable" or "simd-nightly" feature.

Affects joint_constraint_builder::JointConstraintBuilderSimd, joint_constraints_set::JointConstraintsSet.simd_velocity_constraints, joint_constraints_set::JointConstraintsSet.simd_velocity_constraints_builder

serde-serialize

Enables serde, serde of bit-vec, serde of vec_map, serde-serialize of nalgebra and parry3d

Affects utils::serde

enhanced-determinism

Enables enhanced-determinism of parry3d, libm_force of simba

debug-render
profiler

Enables the internal profiler.

Enables web-time

debug-disable-legitimate-fe-exceptions

Feature used for debugging only.

dev-remove-slow-accessors

Feature used for development and debugging only.
Do not enable this unless you are working on the engine internals.