There's a `toBox2DFixture` function for this defined in `box2dfixture.h`.