2.5 Physic Buttons:

* Added some collision buttons. Patch by Wahooney. Thanks!
This commit is contained in:
Thomas Dinges
2009-07-03 14:32:27 +00:00
parent bcea99d8d5
commit c1dcaa5dec

View File

@@ -46,7 +46,22 @@ class PHYSICS_PT_collision(PhysicButtonsPanel):
if settings.enabled:
pass
split = layout.split()
col = split.column()
col.itemL(text="Damping:")
col.itemR(settings, "damping_factor", text="Factor");
col.itemR(settings, "random_damping", text="Random");
col = split.column()
col.itemL(text="Friction:")
col.itemR(settings, "friction_factor", text="Factor");
col.itemR(settings, "random_friction", text="Random");
layout.itemR(settings, "permeability");
layout.itemR(settings, "kill_particles");
bpy.types.register(PHYSICS_PT_field)
bpy.types.register(PHYSICS_PT_collision)