Module kinematic_body_2d

Procs

proc collisionsafeMargin(self: KinematicBody2D): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc collisionsafeMargin=(self: KinematicBody2D; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc moveAndCollide(self: KinematicBody2D; relVec: Vector2;
                   infiniteInertia: bool = true): KinematicCollision2D {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc moveAndSlide(self: KinematicBody2D; linearVelocity: Vector2;
                 floorNormal: Vector2 = vec2(0.0, 0.0); infiniteInertia: bool = true;
                 slopeStopMinVelocity: float64 = 5.0; maxBounces: int64 = 4'i64;
                 floorMaxAngle: float64 = 0.785398): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc testMove(self: KinematicBody2D; fromm: Transform2D; relVec: Vector2;
             infiniteInertia: bool): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isOnFloor(self: KinematicBody2D): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isOnCeiling(self: KinematicBody2D): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isOnWall(self: KinematicBody2D): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getFloorVelocity(self: KinematicBody2D): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getSlideCount(self: KinematicBody2D): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getSlideCollision(self: KinematicBody2D; slideIdx: int64): KinematicCollision2D {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}