The Base of any body in the world
Provides a set of basic accessor functions for all bodies.
Applies a force to the object for a single step at an optional offset in world coordinates.
Applies an impulse to the object for a single step at an optional offset in world coordinates.
informs the body that it can at any time have its current collision points requested
returns the bodies that this body is currently in contact with.
Bases: body.bodybase.BodyBase
constructs a box and adds it to the world
rect: a 6 part tuple with x,y,z,width,height,depth. mass: the mass of the object, if mass is specified it will be used. density: if no mass is specified and a density is, the mass will be calculated from the density and the volumne. static: used to create this object static, if static is true, mass will be ignored
Bases: body.bodybase.BodyBase
constructs a box and adds it to the world
rect: a 5 part tuple with x,y,z,radius,length. Note: if a 6 part rect is passed in, the width will be taken as the radius and the height as the length, the depth will be ignored. mass: the mass of the object, if mass is specified it will be used. density: if no mass is specified and a density is, the mass will be calculated from the density and the volumne. static: used to create this object static, if static is true, mass will be ignored
Bases: body.bodybase.BodyBase
Sets the body to dynamic, static, or kinematic
dynType: “dynamic”, “static” or “kinematic”
density: if no mass is specified and a density is, the mass will be calculated from the density and the volumne.
Bases: body.bodybase.BodyBase
an height map terrain object
Bases: body.bodybase.BodyBase
a mesh based terrain object
Bases: body.bodybase.BodyBase
an oriented terrain object
Bases: body.bodybase.BodyBase
constructs a sphere and adds it to the world
rect: a 6 part tuple with x,y,z,width,height,depth. mass: the mass of the object, if mass is specified it will be used. density: if no mass is specified and a density is, the mass will be calculated from the density and the volumne. static: used to create this object static, if static is true, mass will be ignored