Module rigid_body

Consts

MODE_STATIC* = 1'i64
MODE_KINEMATIC* = 3'i64
MODE_RIGID* = 0'i64
MODE_CHARACTER* = 2'i64

Procs

proc mode*(self: RigidBody): int64 {.
gcsafe, locks: 0
.}
proc `mode =`*(self: RigidBody; val: int64) {.
gcsafe, locks: 0
.}
proc mass*(self: RigidBody): float64 {.
gcsafe, locks: 0
.}
proc `mass =`*(self: RigidBody; val: float64) {.
gcsafe, locks: 0
.}
proc weight*(self: RigidBody): float64 {.
gcsafe, locks: 0
.}
proc `weight =`*(self: RigidBody; val: float64) {.
gcsafe, locks: 0
.}
proc friction*(self: RigidBody): float64 {.
gcsafe, locks: 0
.}
proc `friction =`*(self: RigidBody; val: float64) {.
gcsafe, locks: 0
.}
proc bounce*(self: RigidBody): float64 {.
gcsafe, locks: 0
.}
proc `bounce =`*(self: RigidBody; val: float64) {.
gcsafe, locks: 0
.}
proc gravityScale*(self: RigidBody): float64 {.
gcsafe, locks: 0
.}
proc `gravityScale =`*(self: RigidBody; val: float64) {.
gcsafe, locks: 0
.}
proc customIntegrator*(self: RigidBody): bool {.
gcsafe, locks: 0
.}
proc `customIntegrator =`*(self: RigidBody; val: bool) {.
gcsafe, locks: 0
.}
proc continuousCd*(self: RigidBody): bool {.
gcsafe, locks: 0
.}
proc `continuousCd =`*(self: RigidBody; val: bool) {.
gcsafe, locks: 0
.}
proc contactsReported*(self: RigidBody): int64 {.
gcsafe, locks: 0
.}
proc `contactsReported =`*(self: RigidBody; val: int64) {.
gcsafe, locks: 0
.}
proc contactMonitor*(self: RigidBody): bool {.
gcsafe, locks: 0
.}
proc `contactMonitor =`*(self: RigidBody; val: bool) {.
gcsafe, locks: 0
.}
proc sleeping*(self: RigidBody): bool {.
gcsafe, locks: 0
.}
proc `sleeping =`*(self: RigidBody; val: bool) {.
gcsafe, locks: 0
.}
proc canSleep*(self: RigidBody): bool {.
gcsafe, locks: 0
.}
proc `canSleep =`*(self: RigidBody; val: bool) {.
gcsafe, locks: 0
.}
proc axisLock*(self: RigidBody): int64 {.
gcsafe, locks: 0
.}
proc `axisLock =`*(self: RigidBody; val: int64) {.
gcsafe, locks: 0
.}
proc linearVelocity*(self: RigidBody): Vector3 {.
gcsafe, locks: 0
.}
proc `linearVelocity =`*(self: RigidBody; val: Vector3) {.
gcsafe, locks: 0
.}
proc linearDamp*(self: RigidBody): float64 {.
gcsafe, locks: 0
.}
proc `linearDamp =`*(self: RigidBody; val: float64) {.
gcsafe, locks: 0
.}
proc angularVelocity*(self: RigidBody): Vector3 {.
gcsafe, locks: 0
.}
proc `angularVelocity =`*(self: RigidBody; val: Vector3) {.
gcsafe, locks: 0
.}
proc angularDamp*(self: RigidBody): float64 {.
gcsafe, locks: 0
.}
proc `angularDamp =`*(self: RigidBody; val: float64) {.
gcsafe, locks: 0
.}
proc setAxisVelocity*(self: RigidBody; axisVelocity: Vector3) {.
gcsafe, locks: 0
.}
proc applyImpulse*(self: RigidBody; pos: Vector3; impulse: Vector3) {.
gcsafe, locks: 0
.}
proc getCollidingBodies*(self: RigidBody): Array {.
gcsafe, locks: 0
.}

Methods

method integrateForces*(self: RigidBody; state: PhysicsDirectBodyState) {.
gcsafe, locks: 0, base
.}
method directStateChanged*(self: RigidBody; arg0: Object) {.
gcsafe, locks: 0, base
.}
method bodyEnterTree*(self: RigidBody; arg0: int64) {.
gcsafe, locks: 0, base
.}
method bodyExitTree*(self: RigidBody; arg0: int64) {.
gcsafe, locks: 0, base
.}