ecoli.library.pymunk_multibody
- class ecoli.library.pymunk_multibody.PymunkMultibody(config)[source]
Bases:
object
Multibody object for interfacing with pymunk
- defaults = {'agent_shape': 'segment', 'angular_damping': 0.8, 'barriers': False, 'bounds': [20, 20], 'damping': 0.5, 'elasticity': 0.9, 'force_scaling': 50000.0, 'friction': 0.9, 'initial_agents': {}, 'jitter_force': 0.001, 'physics_dt': 0.001, 'screen': None, 'seed': 0}
- get_shape(boundary)[source]
shape documentation at: https://pymunk-tutorial.readthedocs.io/en/latest/shape/shape.html