Rigidbody: Allow triangle mesh shapes to deform during simulation
Only supported when using the "Deform" mesh source.
This commit is contained in:
@@ -73,6 +73,9 @@ class PHYSICS_PT_rigid_body_collisions(PHYSICS_PT_rigidbody_panel, Panel):
|
||||
if rbo.collision_shape in {'MESH', 'CONVEX_HULL'}:
|
||||
layout.prop(rbo, "mesh_source", text="Source")
|
||||
|
||||
if rbo.collision_shape == 'MESH' and rbo.mesh_source == 'DEFORM':
|
||||
layout.prop(rbo, "use_deform", text="Deforming")
|
||||
|
||||
split = layout.split()
|
||||
|
||||
col = split.column()
|
||||
|
||||
Reference in New Issue
Block a user