shape property

Shape get shape

Implementation

sim.Shape get shape => _shape;
set shape (Shape value)

Replacing the shape rebuilds the simulation colliders.

Implementation

set shape(sim.Shape value) {
  _shape = value;
  _rebuild();
}