setBullet method

void setBullet (bool flag)

Should this body be treated like a bullet for continuous collision detection?

Implementation

void setBullet(bool flag) {
  if (flag) {
    _flags |= BULLET_FLAG;
  } else {
    _flags &= ~BULLET_FLAG;
  }
}