push method

void push()

Reconfigures the live joint after a property change.

Implementation

void push() {
  final world = _world;
  final handle = _handle;
  if (world == null || handle == null) return;
  world.simulation.updateJoint(
    handle,
    buildDesc(_bodyA, _bodyB, _collisionsEnabled),
  );
}