ZPP_Body

ZPP_Interactorzpp_nape.phys.ZPP_Body (Class)

Static Members

Instance Members

nape
outer: nape.phys.Body

nape
world: Bool

nape
type: Int

nape
compound: ZPP_Compound


nape
wrap_shapes: nape.shape.ShapeList



nape
wrap_arbiters: nape.dynamics.ArbiterList


nape
wrap_constraints: nape.constraint.ConstraintList


nape
graph_depth: Int

nape
sweepTime: Float

nape
sweep_angvel: Float

nape
sweepFrozen: Bool

nape
sweepRadius: Float

nape
bullet: Bool

nape
bulletEnabled: Bool

nape
disableCCD: Bool

nape
pre_posx: Float

nape
pre_posy: Float

nape
posx: Float

nape
posy: Float

nape
wrap_pos: nape.geom.Vec2

nape
velx: Float

nape
vely: Float

nape
wrap_vel: nape.geom.Vec2

nape
forcex: Float

nape
forcey: Float

nape
wrap_force: nape.geom.Vec2

nape
kinvelx: Float

nape
kinvely: Float

nape
wrap_kinvel: nape.geom.Vec2

nape
svelx: Float

nape
svely: Float

nape
wrap_svel: nape.geom.Vec2

nape
wrapcvel: nape.geom.Vec3

nape
angvel: Float

nape
torque: Float

nape
kinangvel: Float

nape
pre_rot: Float

nape
rot: Float

nape
axisx: Float

nape
axisy: Float

nape
zip_axis: Bool

nape
kinematicDelaySleep: Bool

nape
mass: Float

nape
zip_mass: Bool

nape
massMode: Int

nape
imass: Float

nape
smass: Float

nape
cmass: Float

nape
nomove: Bool

nape
gravMass: Float

nape
zip_gravMass: Bool

nape
gravMassMode: Int

nape
gravMassScale: Float

nape
zip_gravMassScale: Bool

nape
inertiaMode: Int

nape
inertia: Float

nape
zip_inertia: Bool

nape
cinertia: Float

nape
iinertia: Float

nape
sinertia: Float

nape
norotate: Bool


nape
zip_aabb: Bool

nape
localCOMx: Float

nape
localCOMy: Float

nape
zip_localCOM: Bool

nape
worldCOMx: Float

nape
worldCOMy: Float

nape
zip_worldCOM: Bool

nape
wrap_localCOM: nape.geom.Vec2

nape
wrap_worldCOM: nape.geom.Vec2

nape
isStatic(): Bool
Returns
Bool

nape
isDynamic(): Bool
Returns
Bool

nape
isKinematic(): Bool
Returns
Bool

nape
invalidate_type(): Void

nape
invalidate_shapes(): Void

nape
connectedBodies(depth: Int, output: nape.phys.BodyList): nape.phys.BodyList
Name Type
depth Int
output nape.phys.BodyList
Returns
nape.phys.BodyList

nape
interactingBodies(arbiter_type: Int, depth: Int, output: nape.phys.BodyList): nape.phys.BodyList
Name Type
arbiter_type Int
depth Int
output nape.phys.BodyList
Returns
nape.phys.BodyList

nape
atRest(dt: Float): Bool
Name Type
dt Float
Returns
Bool

nape
refreshArbiters(): Void

nape
sweepIntegrate(dt: Float): Void
Name Type
dt Float

nape
sweepValidate(s: zpp_nape.shape.ZPP_Shape): Void
Name Type
s zpp_nape.shape.ZPP_Shape

nape
invalidate_pos(): Void

nape
setupPosition(): Void

nape
setupVelocity(): Void

nape
setupkinvel(): Void

nape
setupsvel(): Void

nape
setupForce(): Void

nape
setup_cvel(): Void

nape
invalidate_rot(): Void

nape
validate_axis(): Void

nape
quick_validate_axis(): Void

nape
delta_rot(dr: Float): Void
Name Type
dr Float

nape
invalidate_mass(): Void

nape
validate_mass(): Void

nape
invalidate_gravMass(): Void

nape
validate_gravMass(): Void

nape
invalidate_gravMassScale(): Void

nape
validate_gravMassScale(): Void

nape
invalidate_inertia(): Void

nape
validate_inertia(): Void

nape
invalidate_wake(): Void

nape
validate_aabb(): Void

nape
invalidate_aabb(): Void

nape
invalidate_localCOM(): Void

nape
invalidate_worldCOM(): Void

nape
validate_localCOM(): Void

nape
validate_worldCOM(): Void

nape
getlocalCOM(): Void

nape
getworldCOM(): Void

nape
clear(): Void

nape
addedToSpace(): Void

nape
removedFromSpace(): Void

nape
copy(): nape.phys.Body
Returns
nape.phys.Body

nape
new(): Void

Private Members



nape
cur_graph_depth: Int

nape
bodysetlt(a: ZPP_Body, b: ZPP_Body): Bool
Name Type
a ZPP_Body
b ZPP_Body
Returns
Bool

nape
init_bodysetlist(): Void

nape
connectedBodies_cont(b: nape.phys.Body): Void
Name Type
b nape.phys.Body

nape
pos_invalidate(pos: zpp_nape.geom.ZPP_Vec2): Void
Name Type
pos zpp_nape.geom.ZPP_Vec2

nape
pos_validate(): Void

nape
vel_invalidate(vel: zpp_nape.geom.ZPP_Vec2): Void
Name Type
vel zpp_nape.geom.ZPP_Vec2

nape
vel_validate(): Void

nape
kinvel_invalidate(vel: zpp_nape.geom.ZPP_Vec2): Void
Name Type
vel zpp_nape.geom.ZPP_Vec2

nape
kinvel_validate(): Void

nape
svel_invalidate(vel: zpp_nape.geom.ZPP_Vec2): Void
Name Type
vel zpp_nape.geom.ZPP_Vec2

nape
svel_validate(): Void

nape
force_invalidate(force: zpp_nape.geom.ZPP_Vec2): Void
Name Type
force zpp_nape.geom.ZPP_Vec2

nape
force_validate(): Void

nape
cvel_validate(): Void

nape
aabb_validate(): Void

nape
shapes_adder(s: nape.shape.Shape): Bool
Name Type
s nape.shape.Shape
Returns
Bool

nape
shapes_subber(s: nape.shape.Shape): Void
Name Type
s nape.shape.Shape

nape
shapes_invalidate(_: zpp_nape.util.ZPP_ShapeList): Void
Name Type
_ zpp_nape.util.ZPP_ShapeList

nape
shapes_modifiable(): Void