Procs
proc intersectPoint*(self: Physics2DDirectSpaceState; point: Vector2; maxResults: int64 = 32'i64; exclude: Array; collisionLayer: int64 = 2147483647'i64; typeMask: int64 = 15'i64): Array {.
gcsafe, locks: 0.}proc intersectRay*(self: Physics2DDirectSpaceState; fromm: Vector2; to: Vector2; exclude: Array; collisionLayer: int64 = 2147483647'i64; typeMask: int64 = 15'i64): Dictionary {.
gcsafe, locks: 0.}proc intersectShape*(self: Physics2DDirectSpaceState; shape: Physics2DShapeQueryParameters; maxResults: int64 = 32'i64): Array {.
gcsafe, locks: 0.}proc castMotion*(self: Physics2DDirectSpaceState; shape: Physics2DShapeQueryParameters): Array {.
gcsafe, locks: 0.}proc collideShape*(self: Physics2DDirectSpaceState; shape: Physics2DShapeQueryParameters; maxResults: int64 = 32'i64): Array {.
gcsafe, locks: 0.}proc getRestInfo*(self: Physics2DDirectSpaceState; shape: Physics2DShapeQueryParameters): Dictionary {.
gcsafe, locks: 0.}