Cargo Features

[dependencies]
rapier_testbed3d = { version = "0.22.0", default-features = false, features = ["dim3", "parallel", "other-backends"] }
default = dim3

The dim3 feature is set by default whenever rapier_testbed3d is added without default-features = false somewhere in the dependency tree.

dim3 default

Affects joint_constraint_builder::JointTwoBodyConstraintHelper.basis2, joint_constraint_builder::JointTwoBodyConstraintHelper.ang_basis, geometry::Cylinder, geometry::Cone, lib::math.MAX_MANIFOLD_POINTS, lib::math.Jacobian, lib::math.JacobianView, lib::math.JacobianViewMut, lib::math.TangentImpulse, lib::math.SPATIAL_DIM, lib::math.ANG_DIM, outlines::instances, graphics::BevyMaterial, rapier_testbed3d::math, mouse::SceneMouse.ray, testbed::TestbedState.vehicle_controller

parallel = num_cpus

Enables parallel of rapier3d

Affects harness::RunState.thread_pool

other-backends = glam, physx, physx-sys

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

glam other-backends?

Enables glam ^0.24

For Physx

num_cpus parallel?
physx other-backends?
physx-sys other-backends?