Module physics_direct_space_state

Consts

TYPE_MASK_STATIC_BODY* = 1'i64
TYPE_MASK_KINEMATIC_BODY* = 2'i64
TYPE_MASK_RIGID_BODY* = 4'i64
TYPE_MASK_CHARACTER_BODY* = 8'i64
TYPE_MASK_AREA* = 16'i64
TYPE_MASK_COLLISION* = 15'i64

Procs

proc intersectRay*(self: PhysicsDirectSpaceState; fromm: Vector3; to: Vector3;
                  exclude: Array; collisionLayer: int64 = 2147483647'i64;
                  typeMask: int64 = 15'i64): Dictionary {.
gcsafe, locks: 0
.}
proc intersectShape*(self: PhysicsDirectSpaceState;
                    shape: PhysicsShapeQueryParameters; maxResults: int64 = 32'i64): Array {.
gcsafe, locks: 0
.}
proc castMotion*(self: PhysicsDirectSpaceState; shape: PhysicsShapeQueryParameters;
                motion: Vector3): Array {.
gcsafe, locks: 0
.}
proc collideShape*(self: PhysicsDirectSpaceState;
                  shape: PhysicsShapeQueryParameters; maxResults: int64 = 32'i64): Array {.
gcsafe, locks: 0
.}
proc getRestInfo*(self: PhysicsDirectSpaceState; shape: PhysicsShapeQueryParameters): Dictionary {.
gcsafe, locks: 0
.}