Document an undocumented creation record field.
Factor out the CollisionShape creation from createRigidBody for easier reuse.