| Trees | Indices | Toggle frames |
|---|
| __init__(self, mass, inertia) | |
| __del__(self) | |
|
apply_impulse(self,
j,
r)
Apply the impulse j to body with offset r.
|
|
|
reset_forces(self)
Reset the forces on the body
|
|
|
apply_force(self,
f,
r)
Apply (accumulate) the force f on body with offset r.
|
|
|
update_velocity(self,
gravity,
damping,
dt)
Updates the velocity of the body using Euler integration.
|
|
|
update_position(self,
dt)
Updates the position of the body using Euler integration.
|
|
|
local_to_world(self,
v)
Convert body local to world coordinates
|
|
|
world_to_local(self,
v)
Convert world to body local coordinates
|
|
|
damped_spring(self,
b,
anchor1,
anchor2,
rlen,
k,
dmp,
dt)
Apply a spring force between this and body b at anchors anchr1 and
anchr2 respectively.
|
| mass | |
| moment | |
| angle | |
| rotation_vector | |
| torque | |
| position | |
| velocity | |
| angular_velocity |
| Trees | Indices | Toggle frames |
|---|
| Generated by Epydoc 3.0beta1 on Sun Jun 15 16:45:17 2008 | http://epydoc.sourceforge.net |