pub fn obstacles(cfg: &Config) -> Result<Vec<Obstacle>, ConfigError>Expand description
The obstacles of the config: obstacles, a list of tables each with a name, the box’s centre_m and size_m
(three numbers each, in scene coordinates; the sizes above 0), and optionally its contact stiffness_n_m (above 0)
and damping_n_s_m (not negative), by default CONTACT_STIFFNESS and CONTACT_DAMPING. A config without the
list has none.