Add support for exporting rigid bodies.