diff --git a/docs/modules/box2d.md b/docs/modules/box2d.md index d1b80324..78ce6eac 100644 --- a/docs/modules/box2d.md +++ b/docs/modules/box2d.md @@ -145,5 +145,5 @@ class Body: import box2d world = box2d.World() -body = world.create_body() +body = box2d.Body(world) ``` \ No newline at end of file