proc getCanvas*(self: World2D): RID {.gcsafe, locks: 0.}
proc getSpace*(self: World2D): RID {.gcsafe, locks: 0.}
proc getDirectSpaceState*(self: World2D): Physics2DDirectSpaceState {.gcsafe, locks: 0.}